I would like to make a little media control panel for my computer with an Arduino. I have an old keyboard that has play/pause mute and volume control on it as well as some other functions. I was wondering if it is possible to emulate those functions with an Arduino.
Fairly easy to do with the Arduino Leonardo. Find the key code in the USB HID interface standard.
http://www.usb.org/developers/devclass_docs/Hut1_12v2.pdf
Then add 136 to the value before passing it to keyboard.press(keycode)