2014-11-25, 21:03
I'm on an iPhone 6 Plus, jailbroken and on the latest nightly build of Kodi.
I'm having an issue where my Keyboard.XML file is ignored after backgrounding Kodi and then bringing it back into focus. It's a simple remapping of the "Play/Pause" button to Select, and the "b" button to go Back, and it's used with a bluetooth remote as the remote has no enter or back button.
Here's my keyboard.xml:
<keymap>
<global>
<keyboard>
<b>Back</b>
<return>Select</return>
<enter>Select</enter>
<play_pause>Select</play_pause>
</keyboard>
</global>
</keymap>
In the Log you can see that my modified Keyboard.XML file has "b" mapped to the "Back" action. It works initially (and is logged), but when I change the focus to the Home Screen, and then back to Kodi, it doesn't register in the log. The arrow keys work fine after bringing Kodi back from the background because they are not remapped in the Keyboard.XML file.
10:48:40 T:175652864 DEBUG: OnKey: b (0xf042) pressed, action is Back
10:48:40 T:175652864 DEBUG: CGUIWindowManager:reviousWindow: Deactivate
10:48:43 T:922089948 DEBUG: CWinSystemIOS::OnAppFocusChange: 0
10:48:44 T:922089948 DEBUG: CWinSystemIOS::OnAppFocusChange: 1
10:48:54 T:175652864 DEBUG: OnKey: up (0xf080) pressed, action is Up
10:48:55 T:175652864 DEBUG: Keyboard: scancode: 0x00, sym: 0x0112, unicode: 0x0000, modifier: 0x0
10:48:55 T:175652864 DEBUG: OnKey: down (0xf081) pressed, action is Down
10:49:03 T:922089948 DEBUG: CWinSystemIOS::OnAppFocusChange: 0
I would love some help on this, as right now I have to restart Kodi every time it's backgrounded to read a text/get directions/ect.
Also, I've tried the KeyMap program addon with the same result.
Thanks!
I'm having an issue where my Keyboard.XML file is ignored after backgrounding Kodi and then bringing it back into focus. It's a simple remapping of the "Play/Pause" button to Select, and the "b" button to go Back, and it's used with a bluetooth remote as the remote has no enter or back button.
Here's my keyboard.xml:
<keymap>
<global>
<keyboard>
<b>Back</b>
<return>Select</return>
<enter>Select</enter>
<play_pause>Select</play_pause>
</keyboard>
</global>
</keymap>
In the Log you can see that my modified Keyboard.XML file has "b" mapped to the "Back" action. It works initially (and is logged), but when I change the focus to the Home Screen, and then back to Kodi, it doesn't register in the log. The arrow keys work fine after bringing Kodi back from the background because they are not remapped in the Keyboard.XML file.
10:48:40 T:175652864 DEBUG: OnKey: b (0xf042) pressed, action is Back
10:48:40 T:175652864 DEBUG: CGUIWindowManager:reviousWindow: Deactivate
10:48:43 T:922089948 DEBUG: CWinSystemIOS::OnAppFocusChange: 0
10:48:44 T:922089948 DEBUG: CWinSystemIOS::OnAppFocusChange: 1
10:48:54 T:175652864 DEBUG: OnKey: up (0xf080) pressed, action is Up
10:48:55 T:175652864 DEBUG: Keyboard: scancode: 0x00, sym: 0x0112, unicode: 0x0000, modifier: 0x0
10:48:55 T:175652864 DEBUG: OnKey: down (0xf081) pressed, action is Down
10:49:03 T:922089948 DEBUG: CWinSystemIOS::OnAppFocusChange: 0
I would love some help on this, as right now I have to restart Kodi every time it's backgrounded to read a text/get directions/ect.
Also, I've tried the KeyMap program addon with the same result.
Thanks!