How to connect remote controller to Arduino using wires

Hi, I have plain TV remote controller it works good. But I need to send keycodes not by infared channel, but just by wires, I mean that I am going to connect remote controller to arduino by wires, like this keyboard
Is it possible to implement this ?
Thanks in advance.

Sure. Read that one the keypad.h library, then send out whatever data you want via Serial or whatever means you plan to use.

another way is to read the irled and translate or direct the input direct to an wired output. just like a repeater.