2015-04-10, 02:24
I have version 14.1 38e4046.
When the Numeric Dialog is presented, keystrokes from the numeric keypad of a keyboard are ignored. Keystrokes from the numbers across the top of the keyboard are accepted.
This is important to me as I have an "Ortek" remote and that sends numbers as if they came from the numeric keypad.
I have the same version of Kodi (38e4046) running on Ubuntu and there the numeric keyboard works fine.
I ran debug logging and looked at the code.
The root cause seems to be that the numeric keypad is returning unicode 0 instead of the correct value. This can be seen in the debug output (for keypad 2 pressed):
13:45:49 T:1961250816 DEBUG: Keyboard: scancode: 0x50, sym: 0x0102, unicode: 0x0000, modifier: 0x0
For some reason this works differently in Raspberry Pi Raspbian from how it works in Ubuntu.
I am considering making a code patch to check for keystrokes in the keypad range with zero unicode value and force the correct unicode value. (In CKeyboardStat:rocessKeyDown).
Does anybody have any other insight into this problem?
Peter
When the Numeric Dialog is presented, keystrokes from the numeric keypad of a keyboard are ignored. Keystrokes from the numbers across the top of the keyboard are accepted.
This is important to me as I have an "Ortek" remote and that sends numbers as if they came from the numeric keypad.
I have the same version of Kodi (38e4046) running on Ubuntu and there the numeric keyboard works fine.
I ran debug logging and looked at the code.
The root cause seems to be that the numeric keypad is returning unicode 0 instead of the correct value. This can be seen in the debug output (for keypad 2 pressed):
13:45:49 T:1961250816 DEBUG: Keyboard: scancode: 0x50, sym: 0x0102, unicode: 0x0000, modifier: 0x0
For some reason this works differently in Raspberry Pi Raspbian from how it works in Ubuntu.
I am considering making a code patch to check for keystrokes in the keypad range with zero unicode value and force the correct unicode value. (In CKeyboardStat:rocessKeyDown).
Does anybody have any other insight into this problem?
Peter