refine remote hwdb file
This commit is contained in:
parent
d6882bd306
commit
d8db6ba755
@ -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
|
||||
|
||||
|
22
conf/hwdb/10-remote.txt
Normal file
22
conf/hwdb/10-remote.txt
Normal file
@ -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
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user