Hello,
i have bought a new remote because i did not like the stock one.
ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1
It works great and nearly everything is working fine. But how do i customize the key mappings.?
i was able with evtest to grep the in input:
No device specified, trying to scan all of /dev/input/event* Available devices: - Pastebin.com
and keys were recognized by evtest:
Event: time 1504369625.031690, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70051
Event: time 1504369625.031690, type 1 (EV_KEY), code 108 (KEY_DOWN), value 1
Event: time 1504369625.031690, -------------- SYN_REPORT ------------
Event: time 1504369625.044723, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70051
Event: time 1504369625.044723, type 1 (EV_KEY), code 108 (KEY_DOWN), value 0
Event: time 1504369625.044723, -------------- SYN_REPORT ------------
Event: time 1504369630.625717, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7004f
Event: time 1504369630.625717, type 1 (EV_KEY), code 106 (KEY_RIGHT), value 1
Event: time 1504369630.625717, -------------- SYN_REPORT ------------
Event: time 1504369630.799736, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7004f
Event: time 1504369630.799736, type 1 (EV_KEY), code 106 (KEY_RIGHT), value 0
Event: time 1504369630.799736, -------------- SYN_REPORT ------------
Event: time 1504369632.799760, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70065
Event: time 1504369632.799760, type 1 (EV_KEY), code 127 (KEY_COMPOSE), value 1
Event: time 1504369632.799760, -------------- SYN_REPORT ------------
Event: time 1504369632.928750, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70065
Event: time 1504369632.928750, type 1 (EV_KEY), code 127 (KEY_COMPOSE), value 0
Event: time 1504369632.928750, -------------- SYN_REPORT ------------
Display More
I want to map the KEY_COMPOSE to submenu of kodi. So i tried to customize Lircmap.xml as this file is the only i could find containing KEY_DOWN for example but i did not succeed.
Maybe it is threaded like a keyboard or gamepad? dmesg output is:
[ 1369.788829@3] input: 2.4G 2.4G Wireless Device as /devices/c9000000.dwc3/http://xhci-hcd.0.auto/usb1/1-2/1-2:1…05/input/input7
[ 1369.790313@3] hid-generic 0003:0C45:5101.0005: input,hidraw0: USB HID v1.01 Keyboard [2.4G 2.4G Wireless Device] on usb-xhci-hcd.0.auto-2/input0
[ 1369.798221@3] input: 2.4G 2.4G Wireless Device as /devices/c9000000.dwc3/http://xhci-hcd.0.auto/usb1/1-2/1-2:1…06/input/input8
[ 1369.800142@3] hid-generic 0003:0C45:5101.0006: input,hidraw1: USB HID v1.01 Mouse [2.4G 2.4G Wireless Device] on usb-xhci-hcd.0.auto-2/input1
[ 1369.806419@2] hid-generic 0003:0C45:5101.0007: hiddev0,hidraw2: USB HID v1.10 Device [2.4G 2.4G Wireless Device] on usb-xhci-hcd.0.auto-2/input2
[ 1369.820586@2] input: 2.4G 2.4G Wireless Device as /devices/c9000000.dwc3/http://xhci-hcd.0.auto/usb1/1-2/1-2:1…08/input/input9
[ 1369.823148@2] hid-generic 0003:0C45:5101.0008: input,hidraw3: USB HID v1.01 Gamepad [2.4G 2.4G Wireless Device] on usb-xhci-hcd.0.auto-2/input3
What to do next`?
Thanks
derdigge