2014-05-26, 09:42
Has anyone had luck creating custom keyboard.xml mappings for the control keys on an IR remote? I'm using the Ortek remote, and the basics are working fine, but when I try to add additional control for the "extra" buttons the commands seem to be ignored. When I turn on xbmc debug I see it processing the ctrl/shift as separate keystrokes rather than as modifiers, so that seems to be the problem. But I don't understand why that would be the case. If I use an actual keyboard I'm seeing the same problem.
For example, if I hit the remote key that sends ctrl+m, or if I type an actual ctrl+m on a keyboard it is processed as follows. It seems to be doing the action for "m" rather than the one defined for ctrl+m. This is the same result I get if I just type "m" by itself.
00:12:54 T:1525594024 DEBUG: Keyboard: scancode: 0x71, sym: 0x0132, unicode: 0x0000, modifier: 0x0
00:12:54 T:1525594024 DEBUG: bool CApplication::OnKey(const CKey&): leftctrl (0xf0d0) pressed, action is
00:12:54 T:1525594024 DEBUG: Keyboard: scancode: 0x29, sym: 0x006d, unicode: 0x0000, modifier: 0x0
00:12:54 T:1525594024 DEBUG: bool CApplication::OnKey(const CKey&): m (0xf04d) pressed, action is ActivateWindow(PlayerControls)
00:12:54 T:1525594024 DEBUG: Activating window ID: 10114
Any ideas what is wrong?
For example, if I hit the remote key that sends ctrl+m, or if I type an actual ctrl+m on a keyboard it is processed as follows. It seems to be doing the action for "m" rather than the one defined for ctrl+m. This is the same result I get if I just type "m" by itself.
00:12:54 T:1525594024 DEBUG: Keyboard: scancode: 0x71, sym: 0x0132, unicode: 0x0000, modifier: 0x0
00:12:54 T:1525594024 DEBUG: bool CApplication::OnKey(const CKey&): leftctrl (0xf0d0) pressed, action is
00:12:54 T:1525594024 DEBUG: Keyboard: scancode: 0x29, sym: 0x006d, unicode: 0x0000, modifier: 0x0
00:12:54 T:1525594024 DEBUG: bool CApplication::OnKey(const CKey&): m (0xf04d) pressed, action is ActivateWindow(PlayerControls)
00:12:54 T:1525594024 DEBUG: Activating window ID: 10114
Any ideas what is wrong?