Old Computer Challenge 2026 Day 3 - Coding Part 2 0 ▲ 82MHz - All Posts 1 hour ago · 8 min read1530 words · Tech · hide · 0 comments Now that the IR receiver is working and I can receive key presses from the remote on the Arduino, it's time to think about sending them to the PC somehow. The remote I'm planning to use is the small Apple remote that came with old Macbooks. It has five buttons for Play/Pause, Vol +, Vol -, Next Track, Previous Track and Menu. The keyboard library For sending key presses from the Arduino to the PC via USB I found two libraries. One is actually already built into the IDE, and an example for how to have the Arduino act as a keyboard and send keycodes to the PC can be found in the IDE under File -> Examples -> USB -> Keyboard -> KeyboardReprogram. This library allows sending pretty much all keys that can be found on a regular keyboard, but it can't send multimedia keys like volume up/down, play/pause and so on. For that there's an extended library called HID-Project which includes the multimedia keys and a ton of others, too. I'm attempting to control the Kodi media centre software with… No comments yet. Log in to reply on the Fediverse. Comments will appear here.