Skip to content

Instantly share code, notes, and snippets.

@pfingstday
Last active August 29, 2015 14:06
Show Gist options
  • Save pfingstday/ee1224d1e29d65d6700c to your computer and use it in GitHub Desktop.
Save pfingstday/ee1224d1e29d65d6700c to your computer and use it in GitHub Desktop.
EZ-Key Raw HID Consumer Reports
Home
(0x01,0x00);
KeyboardLayout
(0x02,0x00);
Search
(0x04,0x00);
Snapshot
(0x08,0x00);
VolumeUp
(0x10,0x00);
VolumeDown
(0x20,0x00);
Play/Pause
(0x40,0x00);
Fast Forward
(0x80,0x00);
Rewind
(0x00,0x01);
Scan Next Track
(0x00,0x02);
Scan Previous Track
(0x00,0x04);
Random Play
(0x00,0x08);
Stop
(0x00,0x10);
Serial.println("Up Arrow");
BT.write(14);
Serial.println("Down Arrow");
BT.write(12);
Serial.println("Left Arrow");
BT.write(11);
Serial.println("Right Arrow");
BT.write(7);
Serial.println("Backspace");
BT.write(8);
Serial.println("Space");
BT.write(0x20);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment