Kodi Community Forum

Full Version: Remote action activatewindow
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I created my own remote.xml and put it in the userdata folder.
XBMC Eden uses it and it works so far, but...

For the power button i setup to open the shutdown menu:
<power>ActivateWindow(shutdownmenu)</power>

Opening the menu works, but it seems that the menu window does not get the focus.

So my question is: is there anything i can setup to give the focus to opened windows via my remote and maybe also to selected the "default" item/button/key?



Ehere are the logs from the power key event:
Code:
21:50:59 T:3047258368   DEBUG: OnKey: 196 (c4) pressed, action is ActivateWindow(shutdownmenu)
21:50:59 T:3047258368   DEBUG: Activating window ID: 10111
21:50:59 T:3047258368   DEBUG: ------ Window Init (DialogButtonMenu.xml) ------
21:50:59 T:3047258368    INFO: Loading skin file: DialogButtonMenu.xml
21:50:59 T:3047258368   DEBUG: ExecuteXBMCAction : Translating down
21:50:59 T:3047258368   DEBUG: ExecuteXBMCAction : To down
21:50:59 T:3047258368   DEBUG: LIRC: Update - NEW at 8972916:74 0 KEY_POWER_UP devinput (KEY_POWER_UP)