This project shows you how to control your PC mouse using TV remote. It uses V-USB library to implement a low speed software USB port (slave) on AVR microcontroller. No driver is needed in PC side because it uses USB HID class.
By add RC5 decoding and sending proper mouse commands to PC from Atmega8, It can move mouse pointer in 8 directions with number keys 2, 4, 6, 8, 1, 3, 7, 9 and accelerated mouse pointer move by holding buttons for longer time. Remote button 5 for mouse left click, 0 button for mouse right click and volume keys act as mouse wheel. The project uses TSOP 1738 sensor to detect IR Remote. Although the project based on ATmega8, you can uses atmega328p with some modification in few register names. Download: schematic & source code.