PiSupply / JustBoom

Resources for JustBoom range
https://JustBoom.co
15 stars 5 forks source link

Smart Remote OK button not working in Max2Play Kodi #23

Closed ChristopherRush closed 4 years ago

ChristopherRush commented 4 years ago

I have tried the smart remote fix but the button doesn't register. evtest /dev/input/event2 reports the following:

Event: time 1589468249.376502, -------------- SYN_REPORT ------------
Event: time 1589468249.456497, type 4 (EV_MSC), code 4 (MSC_SCAN), value c0041
Event: time 1589468249.456497, type 1 (EV_KEY), code 353 (KEY_SELECT), value 0

70-local-keyboard.hwdb includes:

evdev:input:b0003v2252p0120*
 KEYBOARD_KEY_c0041=enter
 KEYBOARD_KEY_c0040=c

Kodi logfile reports:

2020-05-14 16:52:19.767 T:1899961616   DEBUG: HandleKey: long-0 (0x100f200, obc-16838913) pressed, action is
2020-05-14 16:52:19.902 T:1899961616   DEBUG: Keyboard: scancode: 0x00, sym: 0x0000, unicode: 0x0000, modifier: 0x0
ChristopherRush commented 4 years ago

Useful thread - https://forum.libreelec.tv/thread/10563-ok-button-doesn-t-work-on-h1-remote/?pageNo=1

ChristopherRush commented 4 years ago

Fixed - https://github.com/PiSupply/JustBoom/commit/14d695d6b17f829e145b9c11c92e5aa2a7fa2346