Shawn McCombs added IR remote capabilities to his laptop so that he could control his YouTube playlist from the comfort of his bed.
Some older laptops don’t have IR sensors or remote control capability, but Shawn worked around that by using a Teensy, and IR sensor, and the IRremote library. This project allows you to take a remote and reprogram the buttons to control your laptop.
Code for the project is posted on GitHub.