Archive:Sample MCE remote keyboard.xml: Difference between revisions
Jump to navigation
Jump to search
>Jhsrennie No edit summary |
>Jhsrennie No edit summary |
||
Line 4: | Line 4: | ||
in the system keyboard.xml. I've included all the MCE shortcuts from | in the system keyboard.xml. I've included all the MCE shortcuts from | ||
http://msdn.microsoft.com/en-us/library/bb189249.aspx even though some | http://msdn.microsoft.com/en-us/library/bb189249.aspx even though some | ||
don't have an obvious action in XBMC. | don't have an obvious action in XBMC. All the keys that don't have an | ||
obvious function are mapped to <i>Stop</i>. | |||
<pre> | <pre> | ||
Line 10: | Line 11: | ||
<global> | <global> | ||
<keyboard> | <keyboard> | ||
<!-- Transport controls --> | |||
<p mod="ctrl,shift">Play</p> | <p mod="ctrl,shift">Play</p> | ||
<s mod="ctrl,shift">Stop</s> | <s mod="ctrl,shift">Stop</s> | ||
Line 17: | Line 19: | ||
<f mod="ctrl">SkipNext</f> | <f mod="ctrl">SkipNext</f> | ||
<b mod="ctrl">SkipPrevious</b> | <b mod="ctrl">SkipPrevious</b> | ||
<!-- Top level menus --> | |||
<t mod="ctrl,shift">Stop</t> <!-- MyTV ctrl-shift-T --> | |||
<m mod="ctrl">ActivateWindow(MyMusic)</m> <!-- MyMusic ctrl-M --> | |||
<e mod="ctrl">ActivateWindow(MyVideos)</e> <!-- MyVideos ctrl-E --> | |||
<i mod="ctrl">ActivateWindow(MyPictures)</i> <!-- MyPictures ctrl-I --> | |||
<!-- TV and DVD menus --> | |||
<g mod="ctrl">Stop</g> <!-- Guide ctrl-G --> | |||
<r mod="ctrl">Stop</r> <!-- Record ctrl-R --> | |||
<d mod="ctrl">Info</d> <!-- Details ctrl-D --> | |||
<m mod="ctrl,shift">Stop</m> <!-- DVD Menu ctrl-shift-M --> | |||
<o mod="ctrl">Stop</o> <!-- Recorded TV ctrl-O --> | |||
<a mod="ctrl,shift">Stop</a> <!-- DVD Audio --> | |||
<u mod="ctrl">Stop</u> <!-- DVD Subtitle --> | |||
<!-- Volume controls --> | |||
<f8>Mute</f8> | |||
<f9>VolumeDown</f9> | |||
<f10>VolumeUp</f10> | |||
</keyboard> | </keyboard> | ||
</global> | </global> | ||
</keymap> | </keymap> | ||
</pre> | </pre> |
Revision as of 16:23, 7 January 2010
This is an example of a keyboard.xml file you might create in your userdata/keymaps folder to map MCE shortcut keys to XBMC actions. The basic operations of Play, Pause, Stop etc are already included in the system keyboard.xml. I've included all the MCE shortcuts from http://msdn.microsoft.com/en-us/library/bb189249.aspx even though some don't have an obvious action in XBMC. All the keys that don't have an obvious function are mapped to Stop.
<keymap> <global> <keyboard> <!-- Transport controls --> <p mod="ctrl,shift">Play</p> <s mod="ctrl,shift">Stop</s> <p mod="ctrl">Pause</p> <f mod="ctrl,shift">FastForward</f> <b mod="ctrl,shift">Rewind</b> <f mod="ctrl">SkipNext</f> <b mod="ctrl">SkipPrevious</b> <!-- Top level menus --> <t mod="ctrl,shift">Stop</t> <!-- MyTV ctrl-shift-T --> <m mod="ctrl">ActivateWindow(MyMusic)</m> <!-- MyMusic ctrl-M --> <e mod="ctrl">ActivateWindow(MyVideos)</e> <!-- MyVideos ctrl-E --> <i mod="ctrl">ActivateWindow(MyPictures)</i> <!-- MyPictures ctrl-I --> <!-- TV and DVD menus --> <g mod="ctrl">Stop</g> <!-- Guide ctrl-G --> <r mod="ctrl">Stop</r> <!-- Record ctrl-R --> <d mod="ctrl">Info</d> <!-- Details ctrl-D --> <m mod="ctrl,shift">Stop</m> <!-- DVD Menu ctrl-shift-M --> <o mod="ctrl">Stop</o> <!-- Recorded TV ctrl-O --> <a mod="ctrl,shift">Stop</a> <!-- DVD Audio --> <u mod="ctrl">Stop</u> <!-- DVD Subtitle --> <!-- Volume controls --> <f8>Mute</f8> <f9>VolumeDown</f9> <f10>VolumeUp</f10> </keyboard> </global> </keymap>