Receiving Different IR Codes From Same Remote/Button

I am using the IR remote sensor library. Everything works fine. Now I want that when I press my KEY numbered ' 1 ' on IR remote and successively press the other e.g. volume + , what should be done to to read this complete procedure.