I remapped the buttons on my A3 Lite using this hwdb which worked fine with LE builds but now no longer work with CE.
I can see by evtest that the buttons actually work. Home key mapped to BLUE
Event: time 1534676976.097925, type 4 (EV_MSC), code 4 (MSC_SCAN), value c0223
Event: time 1534676976.097925, type 1 (EV_KEY), code 401 (KEY_BLUE), value 1
Event: time 1534676976.097925, -------------- SYN_REPORT ------------
Event: time 1534676976.241888, type 4 (EV_MSC), code 4 (MSC_SCAN), value c0223
Event: time 1534676976.241888, type 1 (EV_KEY), code 401 (KEY_BLUE), value 0
But when i press the button with Kodi running all i get is this for all the top buttons (red/green/yellow/blue)
12:28:40.064 T:4089143312 DEBUG: Keyboard: scancode: 0x00, sym: 0x0000, unicode: 0x0000, modifier: 0x0
12:28:40.260 T:4089143312 DEBUG: Previous line repeats 1 times.
12:28:40.260 T:4089143312 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
12:28:40.260 T:4089143312 DEBUG: Previous line repeats 1 times.
12:28:40.260 T:4089143312 DEBUG: HandleKey: long-0 (0x100f200, obc-16838913) pressed, action is
12:28:40.455 T:4089143312 DEBUG: Keyboard: scancode: 0x00, sym: 0x0000, unicode: 0x0000, modifier: 0x0
The button remapped to STOP gives a different one
12:28:19.960 T:4089143312 DEBUG: Keyboard: scancode: 0x80, sym: 0x0000, unicode: 0x0000, modifier: 0x0
12:28:19.960 T:4089143312 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
12:28:19.960 T:4089143312 DEBUG: Previous line repeats 1 times.
12:28:19.960 T:4089143312 DEBUG: HandleKey: 0 (0xf200, obc-61697) pressed, action is
12:28:19.960 T:4089143312 DEBUG: Keyboard: scancode: 0x80, sym: 0x0000, unicode: 0x0000, modifier: 0x0
I tried using the action
KEYBOARD_KEY_07003a=stop
and the scancode
KEYBOARD_KEY_0c0223=401
Neither work in Kodi. What am I missing?