Arduino IR 4x4 keypad

I have managed to pick up on my arduino when I press a button on my TV controller and now I want to take it to the next level. I was wondering if I set up an arduino with an ir transmitter on it and also a 4x4 keypad. What I was thinking is that when I press a key on the keypad it picks it up on a different arduino and writes it to the serial port.
Any help on this would be great. Thanks Ben

Not sure what you are wanting to do.
Here is an idea I worked on, maybe you could expand on it.