To be able to control my computer with an IR telecommand, I have implemented a decoder for the IR RC5 protocol.
For the first version I have used an IR receiver from an old DVD player. It is connected to an AVR at90s2313 running at 8MHz which decode the protocol and send the information to the PC through the serial port. You can use a terminal to receive the data.
Doc about the RC5 protocol
Schematics & source code
Source code in C (compliled with winAVR) for at90s2313: ir_rc5.zip