2015-11-02, 22:37
Hi,
I'm trying to get extra functions out of my Logitech Harmony 525 by adding a keyboard XML to Kodi 16 Alpha 4. I have added the file in this directory:
C:\Users\USERNAME\AppData\Roaming\Kodi\userdata\keymaps
The file consists of the following for test:
<keymap>
<global>
<keyboard>
<9 mod="ctrl">ActivateWindow(home)</9>
<1 mod="ctrl">ActivateWindow(pictures)</1>
</keyboard>
</global>
</keymap>
For now I am trying to get the keymapping working directly on my keyboard. When it Works there I will implement it on the Harmony.
But it is NOT working on the keyboard. When I enable logging it just tells me that the keys have been pressed but with no action:
21:34:03 T:6340 DEBUG: Keyboard: scancode: 0x1d, sym: 0x0132, unicode: 0x0000, modifier: 0x40
21:34:03 T:6340 DEBUG: CInputManager::OnKey: ctrl-leftctrl (0x1f0d0) pressed, action is
21:34:03 T:6340 DEBUG: ------ Window Deinit (Pointer.xml) ------
21:34:04 T:6340 DEBUG: Keyboard: scancode: 0x0a, sym: 0x0039, unicode: 0x0000, modifier: 0x40
21:34:04 T:6340 DEBUG: CInputManager::OnKey: ctrl-nine (0x1f039) pressed, action is
21:34:04 T:6340 DEBUG: Keyboard: scancode: 0x1d, sym: 0x0132, unicode: 0x0000, modifier: 0x40
21:34:04 T:6340 DEBUG: CInputManager::OnKey: ctrl-leftctrl (0x1f0d0) pressed, action is
21:34:05 T:6340 DEBUG: Keyboard: scancode: 0x1d, sym: 0x0132, unicode: 0x0000, modifier: 0x40
21:34:05 T:6340 DEBUG: CInputManager::OnKey: ctrl-leftctrl (0x101f0d0) pressed, action is
21:34:05 T:6340 DEBUG: Keyboard: scancode: 0x1d, sym: 0x0132, unicode: 0x0000, modifier: 0x40
21:34:05 T:6340 DEBUG: CInputManager::OnKey: ctrl-leftctrl (0x101f0d0) pressed, action is
21:34:05 T:6340 DEBUG: Keyboard: scancode: 0x1d, sym: 0x0132, unicode: 0x0000, modifier: 0x40
21:34:05 T:6340 DEBUG: CInputManager::OnKey: ctrl-leftctrl (0x101f0d0) pressed, action is
21:34:05 T:6340 DEBUG: Keyboard: scancode: 0x1d, sym: 0x0132, unicode: 0x0000, modifier: 0x40
21:34:05 T:6340 DEBUG: CInputManager::OnKey: ctrl-leftctrl (0x101f0d0) pressed, action is
21:34:05 T:6340 DEBUG: Keyboard: scancode: 0x1d, sym: 0x0132, unicode: 0x0000, modifier: 0x40
21:34:05 T:6340 DEBUG: CInputManager::OnKey: ctrl-leftctrl (0x101f0d0) pressed, action is
21:34:05 T:6340 DEBUG: Keyboard: scancode: 0x02, sym: 0x0031, unicode: 0x0000, modifier: 0x40
21:34:05 T:6340 DEBUG: CInputManager::OnKey: ctrl-one (0x1f031) pressed, action is
It seems that Kodi is not reading the keyboard.xml - should it somehow be activated?
Hope someone can help
I'm trying to get extra functions out of my Logitech Harmony 525 by adding a keyboard XML to Kodi 16 Alpha 4. I have added the file in this directory:
C:\Users\USERNAME\AppData\Roaming\Kodi\userdata\keymaps
The file consists of the following for test:
<keymap>
<global>
<keyboard>
<9 mod="ctrl">ActivateWindow(home)</9>
<1 mod="ctrl">ActivateWindow(pictures)</1>
</keyboard>
</global>
</keymap>
For now I am trying to get the keymapping working directly on my keyboard. When it Works there I will implement it on the Harmony.
But it is NOT working on the keyboard. When I enable logging it just tells me that the keys have been pressed but with no action:
21:34:03 T:6340 DEBUG: Keyboard: scancode: 0x1d, sym: 0x0132, unicode: 0x0000, modifier: 0x40
21:34:03 T:6340 DEBUG: CInputManager::OnKey: ctrl-leftctrl (0x1f0d0) pressed, action is
21:34:03 T:6340 DEBUG: ------ Window Deinit (Pointer.xml) ------
21:34:04 T:6340 DEBUG: Keyboard: scancode: 0x0a, sym: 0x0039, unicode: 0x0000, modifier: 0x40
21:34:04 T:6340 DEBUG: CInputManager::OnKey: ctrl-nine (0x1f039) pressed, action is
21:34:04 T:6340 DEBUG: Keyboard: scancode: 0x1d, sym: 0x0132, unicode: 0x0000, modifier: 0x40
21:34:04 T:6340 DEBUG: CInputManager::OnKey: ctrl-leftctrl (0x1f0d0) pressed, action is
21:34:05 T:6340 DEBUG: Keyboard: scancode: 0x1d, sym: 0x0132, unicode: 0x0000, modifier: 0x40
21:34:05 T:6340 DEBUG: CInputManager::OnKey: ctrl-leftctrl (0x101f0d0) pressed, action is
21:34:05 T:6340 DEBUG: Keyboard: scancode: 0x1d, sym: 0x0132, unicode: 0x0000, modifier: 0x40
21:34:05 T:6340 DEBUG: CInputManager::OnKey: ctrl-leftctrl (0x101f0d0) pressed, action is
21:34:05 T:6340 DEBUG: Keyboard: scancode: 0x1d, sym: 0x0132, unicode: 0x0000, modifier: 0x40
21:34:05 T:6340 DEBUG: CInputManager::OnKey: ctrl-leftctrl (0x101f0d0) pressed, action is
21:34:05 T:6340 DEBUG: Keyboard: scancode: 0x1d, sym: 0x0132, unicode: 0x0000, modifier: 0x40
21:34:05 T:6340 DEBUG: CInputManager::OnKey: ctrl-leftctrl (0x101f0d0) pressed, action is
21:34:05 T:6340 DEBUG: Keyboard: scancode: 0x1d, sym: 0x0132, unicode: 0x0000, modifier: 0x40
21:34:05 T:6340 DEBUG: CInputManager::OnKey: ctrl-leftctrl (0x101f0d0) pressed, action is
21:34:05 T:6340 DEBUG: Keyboard: scancode: 0x02, sym: 0x0031, unicode: 0x0000, modifier: 0x40
21:34:05 T:6340 DEBUG: CInputManager::OnKey: ctrl-one (0x1f031) pressed, action is
It seems that Kodi is not reading the keyboard.xml - should it somehow be activated?
Hope someone can help