Custom (python) windows in keymap.xml
#4
I've just tried installing the MythTV add-on. It doesn't do anything useful since I don't have a MySQL server, but the window mapping does work. I used the mapping:

Code:
<window13002>
    <keyboard>
      <two>Notification(Rat, Window 13002, 2)</two>
    </keyboard>
  </window13002>

Since I end up in the settings window that has ID 13002, and when I press "2" the log shows (I've removed a few irrelevant lines):

Code:
DEBUG: ------ Window Init (DialogKaiToast.xml) ------
DEBUG: Activating window ID: 13002
DEBUG: Checking if window ID 13002 is locked.
DEBUG: ------ Window Deinit (C:\Users\renniej\AppData\Roaming\XBMC\addons\script.mythbox\resources\skins\Default\720p\mythbox_home.xml) ------
DEBUG: ------ Window Init (C:\Users\renniej\AppData\Roaming\XBMC\addons\script.mythbox\resources\skins\Default\720p\mythbox_settings.xml) ------
INFO: Loading skin file: C:\Users\renniej\AppData\Roaming\XBMC\addons\script.mythbox\resources\skins\Default\720p\mythbox_settings.xml
DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
...
DEBUG: SDLKeyboard: scancode: 3, sym: 50, unicode: 50, modifier: 0
DEBUG: CApplication::OnKey: 61538 pressed, action is Notification(Rat, Window 13002, 2)

This is with v10.1 running on Windows.

JR
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average


Messages In This Thread
[No subject] - by jhsrennie - 2011-08-30, 10:32
[No subject] - by fetzerch - 2011-08-31, 19:30
[No subject] - by jhsrennie - 2011-09-01, 10:40
[No subject] - by fetzerch - 2011-09-02, 19:20
[No subject] - by jhsrennie - 2011-09-03, 09:45


Logout Mark Read Team Forum Stats Members Help
Custom (python) windows in keymap.xml00