I have a strange problem with my x96 box remote setup. The proposed remote.conf file is downloaded and installed. Everything work fine except the button "0". Kodi does not really recognizes the scancode. See the debug log when I press the buttons 1,2,3...9,0
20:52:50.721 T:4101374064 DEBUG: Keyboard: scancode: 0x02, sym: 0x0031, unicode: 0x0031, modifier: 0x0
20:52:50.721 T:4101374064 DEBUG: OnKey: one (0xf031) pressed, action is Number1
20:52:51.181 T:4101374064 DEBUG: Keyboard: scancode: 0x02, sym: 0x0031, unicode: 0x0031, modifier: 0x0
20:52:59.522 T:4101374064 DEBUG: Keyboard: scancode: 0x03, sym: 0x0032, unicode: 0x0032, modifier: 0x0
20:52:59.522 T:4101374064 DEBUG: OnKey: two (0xf032) pressed, action is Number2
20:52:59.982 T:4101374064 DEBUG: Keyboard: scancode: 0x03, sym: 0x0032, unicode: 0x0032, modifier: 0x0
20:53:01.142 T:4101374064 DEBUG: Keyboard: scancode: 0x04, sym: 0x0033, unicode: 0x0033, modifier: 0x0
20:53:01.142 T:4101374064 DEBUG: OnKey: three (0xf033) pressed, action is Number3
20:53:01.502 T:4101374064 DEBUG: Keyboard: scancode: 0x04, sym: 0x0033, unicode: 0x0033, modifier: 0x0
20:53:03.062 T:4101374064 DEBUG: Keyboard: scancode: 0x05, sym: 0x0034, unicode: 0x0034, modifier: 0x0
20:53:03.062 T:4101374064 DEBUG: OnKey: four (0xf034) pressed, action is Number4
20:53:03.422 T:4101374064 DEBUG: Keyboard: scancode: 0x05, sym: 0x0034, unicode: 0x0034, modifier: 0x0
20:53:05.782 T:4101374064 DEBUG: Keyboard: scancode: 0x06, sym: 0x0035, unicode: 0x0035, modifier: 0x0
20:53:05.782 T:4101374064 DEBUG: OnKey: five (0xf035) pressed, action is Number5
20:53:06.142 T:4101374064 DEBUG: Keyboard: scancode: 0x06, sym: 0x0035, unicode: 0x0035, modifier: 0x0
20:53:07.422 T:4101374064 DEBUG: Keyboard: scancode: 0x07, sym: 0x0036, unicode: 0x0036, modifier: 0x0
20:53:07.422 T:4101374064 DEBUG: OnKey: six (0xf036) pressed, action is Number6
20:53:07.782 T:4101374064 DEBUG: Keyboard: scancode: 0x07, sym: 0x0036, unicode: 0x0036, modifier: 0x0
20:53:09.682 T:4101374064 DEBUG: Keyboard: scancode: 0x08, sym: 0x0037, unicode: 0x0037, modifier: 0x0
20:53:09.683 T:4101374064 DEBUG: OnKey: seven (0xf037) pressed, action is Number7
20:53:10.041 T:4101374064 DEBUG: Keyboard: scancode: 0x08, sym: 0x0037, unicode: 0x0037, modifier: 0x0
20:53:11.302 T:4101374064 DEBUG: Keyboard: scancode: 0x09, sym: 0x0038, unicode: 0x0038, modifier: 0x0
20:53:11.303 T:4101374064 DEBUG: OnKey: eight (0xf038) pressed, action is Number8
20:53:11.662 T:4101374064 DEBUG: Keyboard: scancode: 0x09, sym: 0x0038, unicode: 0x0038, modifier: 0x0
20:53:13.222 T:4101374064 DEBUG: Keyboard: scancode: 0x0a, sym: 0x0039, unicode: 0x0039, modifier: 0x0
20:53:13.222 T:4101374064 DEBUG: OnKey: nine (0xf039) pressed, action is Number9
20:53:13.582 T:4101374064 DEBUG: Keyboard: scancode: 0x0a, sym: 0x0039, unicode: 0x0039, modifier: 0x0
20:53:15.302 T:4101374064 DEBUG: Keyboard: scancode: 0x0b, sym: 0x00f6, unicode: 0x0000, modifier: 0x0
20:53:15.302 T:4101374064 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
20:53:15.302 T:4101374064 DEBUG: Previous line repeats 3 times.
20:53:15.302 T:4101374064 DEBUG: OnKey: 0 (0xf200, obc-61697) pressed, action is
20:53:15.782 T:4101374064 DEBUG: Keyboard: scancode: 0x0b, sym: 0x00f6, unicode: 0x0000, modifier: 0x0
Display More
I think the remote.conf is good. Key "0" is mapped to scancode 11d
0x4e 2 #1 -> 1
0x0d 3 #2 -> 2
0x0c 4 #3 -> 3
0x4a 5 #4 -> 4
0x09 6 #5 -> 5
0x08 7 #6 -> 6
0x46 8 #7 -> 7
0x05 9 #8 -> 8
0x04 10 #9 -> 9
0x01 11 #0 -> 0
***Update***
The root cause and solution is found. Sharing here if helps someone in the future.
I have Hungarian keyboard layout set in Kodi. It remaps "0" key to another character. The solution is another scancode to be assigned in remote.conf file. Instead of top row "0" button I assigned the numpad 0/Ins button. See below the change.
[CODE]
# 0x01 11
0x01 82
[/CODE]