I recently used an Arduino to have my Xbox Media Remote control VLC on my PC.
The sketch uses an Arduino Leonardo and an IR receiver.
Check out the sketch here: Check it out here: Arduino Xbox VLC Remote
It uses the library by Ken Shirriff here: Ken Shirriff's blog
And here is the direct link to the Github for the library: Github Xbox Remote Library