diff --git a/conf/hwdb/10-remote.hwdb b/conf/hwdb/10-remote.hwdb index 8c5593d..c6c16ff 100644 --- a/conf/hwdb/10-remote.hwdb +++ b/conf/hwdb/10-remote.hwdb @@ -1,6 +1,18 @@ evdev:name:HAOBO Technology USB Composite Device Keyboard:* + # center OK button KEYBOARD_KEY_c0041=enter + # power key? possibly doesn't produce input when a remote code has been learned KEYBOARD_KEY_10081=stop + # microphone button KEYBOARD_KEY_c00cf=mute - KEYBOARD_KEY_c0223=h + # home key + KEYBOARD_KEY_c0223=tab + # back key + KEYBOARD_KEY_c0224=backspace + # play/pause key + KEYBOARD_KEY_c00cd=space + # skip forward + KEYBOARD_KEY_c00b5=f + # skip backward + KEYBOARD_KEY_c00b6=r diff --git a/conf/hwdb/10-remote.txt b/conf/hwdb/10-remote.txt new file mode 100644 index 0000000..494efad --- /dev/null +++ b/conf/hwdb/10-remote.txt @@ -0,0 +1,22 @@ +Forward code = c00b5 +Play/pause code = c00cd +Rewind code = c00b6 + +Back code = c0224 +home code = c0223 + +del code = 7002a +menu code = 70065 + +mic code = c00cf +mute code = c00e2 + +vol up code = c00e9 +vol down code = c00ea + +ok code = c0041 + +up code = 70052 +down code =70051 +left code = 70050 +right code = 7004f diff --git a/conf/hwdb/README.md b/conf/hwdb/README.md index b0e617b..05e7870 100644 --- a/conf/hwdb/README.md +++ b/conf/hwdb/README.md @@ -1,3 +1,8 @@ +Install package evtest +to find keystrokes: + sudo evtest +ctrl-c to exit + Place hwdb files in /etc/udev/hwdb.d/ then run: