Sample MCE remote keyboard.xml

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.

&lt;keymap&gt; &lt;global&gt; &lt;keyboard&gt; &lt;!-- Transport controls --&gt; &lt;p mod="ctrl,shift"&gt;Play&lt;/p&gt; &lt;s mod="ctrl,shift"&gt;Notification(MCEKeypress, MCEKeypress, 3)&lt;/s&gt; &lt;p mod="ctrl"&gt;Pause&lt;/p&gt; &lt;f mod="ctrl,shift"&gt;FastForward&lt;/f&gt; &lt;b mod="ctrl,shift"&gt;Rewind&lt;/b&gt; &lt;f mod="ctrl"&gt;SkipNext&lt;/f&gt; &lt;b mod="ctrl"&gt;SkipPrevious&lt;/b&gt; &lt;!-- Top level menus --&gt; &lt;!-- MyTV ctrl-shift-T --&gt; &lt;t mod="ctrl,shift"&gt;Notification(MCEKeypress, My TV ctrl-shift-t, 3)&lt;/t&gt; &lt;!-- MyMusic ctrl-M --&gt; &lt;m mod="ctrl"&gt;ActivateWindow(MyMusic)&lt;/m&gt; &lt;!-- MyVideos ctrl-E --&gt; &lt;e mod="ctrl"&gt;ActivateWindow(MyVideos)&lt;/e&gt; &lt;!-- MyPictures ctrl-I --&gt; &lt;i mod="ctrl"&gt;ActivateWindow(MyPictures)&lt;/i&gt; &lt;!-- TV and DVD menus --&gt; &lt;!-- Guide ctrl-G --&gt; &lt;g mod="ctrl"&gt;Notification(MCEKeypress, Guide ctrl-G, 3)&lt;/g&gt; &lt;!-- Record ctrl-R --&gt; &lt;r mod="ctrl"&gt;Notification(MCEKeypress, Record ctrl-R, 3)&lt;/r&gt; &lt;!-- Details ctrl-D --&gt; &lt;d mod="ctrl"&gt;Info&lt;/d&gt; &lt;!-- DVD Menu ctrl-shift-M --&gt; &lt;m mod="ctrl,shift"&gt;Notification(MCEKeypress, DVD menu ctrl-shift-M, 3)&lt;/m&gt; &lt;!-- Recorded TV ctrl-O --&gt; &lt;o mod="ctrl"&gt;Notification(MCEKeypress, MyTV ctrl-O, 3)&lt;/o&gt; &lt;!-- DVD Audio --&gt; &lt;a mod="ctrl,shift"&gt;Notification(MCEKeypress, DVD Audio ctrl-shift-A, 3)&lt;/a&gt; &lt;!-- DVD Subtitle --&gt; &lt;u mod="ctrl"&gt;Notification(MCEKeypress, DVD Subtitles ctrl-U, 3)&lt;/u&gt; &lt;!-- Volume controls --&gt; &lt;f8&gt;Mute&lt;/f8&gt; &lt;f9&gt;VolumeDown&lt;/f9&gt; &lt;f10&gt;VolumeUp&lt;/f10&gt; &lt;/keyboard&gt; &lt;/global&gt; &lt;/keymap&gt;