2011-11-02, 02:03
Hello,
I just finished creating a keymap.xml file so I can use my USB gamepad to control my XBMC, but I can't seem to get "ActivateWindow(PlayerControls)" to work while I'm watching a tv show. Everything else assigned to the controller works perfectly (volume up/down, pause, play, etc.,) but I can't bring up the player controls while watching something. Does anyone know what I've done wrong?
<keymap>
<global>
<joystick name="SmartJoy PLUS Adapter">
<altname>SmartJoy PLUS Adapter</altname>
<button id="9">Select</button>
<button id="7">ContextMenu</button>
<button id="10">Pause</button>
<button id="5">PreviousMenu</button>
<button id="6">StepBack</button>
<button id="8">StepForward</button>
<button id="2">ShowSubtitles</button>
<button id="1">ActivateWindow(PlayerControls)</button>
<button id="3">VolumeDown</button>
<button id="4">VolumeUp</button>
<hat id="1" position="up">Up</hat>
<hat id="1" position="down">Down</hat>
<hat id="1" position="right">Right</hat>
<hat id="1" position="left">Left</hat>
</joystick>
</global>
</keymap>
Sorry if there's a really obvious solution to this, as I really don't know anything about the way in which .xml files need to be setup.
I forgot to mention this, which may or may not be important, but all of my menu items are custom made ie., documentaries, superhero movies, britcoms, etc., maybe this affects it some how? thanks in advance.
I just finished creating a keymap.xml file so I can use my USB gamepad to control my XBMC, but I can't seem to get "ActivateWindow(PlayerControls)" to work while I'm watching a tv show. Everything else assigned to the controller works perfectly (volume up/down, pause, play, etc.,) but I can't bring up the player controls while watching something. Does anyone know what I've done wrong?
<keymap>
<global>
<joystick name="SmartJoy PLUS Adapter">
<altname>SmartJoy PLUS Adapter</altname>
<button id="9">Select</button>
<button id="7">ContextMenu</button>
<button id="10">Pause</button>
<button id="5">PreviousMenu</button>
<button id="6">StepBack</button>
<button id="8">StepForward</button>
<button id="2">ShowSubtitles</button>
<button id="1">ActivateWindow(PlayerControls)</button>
<button id="3">VolumeDown</button>
<button id="4">VolumeUp</button>
<hat id="1" position="up">Up</hat>
<hat id="1" position="down">Down</hat>
<hat id="1" position="right">Right</hat>
<hat id="1" position="left">Left</hat>
</joystick>
</global>
</keymap>
Sorry if there's a really obvious solution to this, as I really don't know anything about the way in which .xml files need to be setup.
I forgot to mention this, which may or may not be important, but all of my menu items are custom made ie., documentaries, superhero movies, britcoms, etc., maybe this affects it some how? thanks in advance.