I am using Gyration GYR3101US Media Center Remote and it is working well for basic functions such as play, stop, go back to previous screen, up/down/left/right etc. and as an air mouse. And I wonder whether there is way to may a button to a specific function. For example, the remote has 12 buttons, 10 for digit '0','1','2',...'9' plus "*' and '#'. If possible I would like to map button '0' to Keyboard key 'S' which bring up the shutdown menu.
(2020-11-15, 20:02)easy123 Wrote: [ -> ]I am using Gyration GYR3101US Media Center Remote and it is working well for basic functions such as play, stop, go back to previous screen, up/down/left/right etc. and as an air mouse. And I wonder whether there is way to may a button to a specific function. For example, the remote has 12 buttons, 10 for digit '0','1','2',...'9' plus "*' and '#'. If possible I would like to map button '0' to Keyboard key 'S' which bring up the shutdown menu.
I have the following in my keymap.xml...
Code:
<keymap>
<global>
<keyboard>
...
<zero>XBMC.ActivateWindow(shutdownmenu)</zero>
...
</keyboard>
</global>
...
</keymap>
It does what you're looking for although it does it by invoking the shut down menu directly rather than mapping 0 to S.
Andy