Alternative keymaps for number pads: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
This is a basic skeleton custom [[Userdata]] [[Keymap]] file, follow the instrutions for [[HOW-TO:Modify_keyboard.xml]] and copy the following into your [[Keyboard.xml]]
This is a basic skeleton custom [[Userdata]] [[Keymap]] file, follow the instrutions for [[HOW-TO:Modify_keyboard.xml]] and copy the following into your [[Keyboard.xml]]


<pre>
<syntaxhighlight lang="xml" enclose="div">
<!-- Keypad keymap for xbmc -->
<keymap>
<keymap>
   <global>
   <global>
Line 30: Line 29:
   </global>
   </global>
</keymap>
</keymap>
</pre>
</syntaxhighlight>


[[Category:Custom keymaps|Number pads]]
[[Category:Custom keymaps|Number pads]]

Revision as of 20:29, 25 July 2013

Allows a USB NumPad/KeyPad to control XBMC

This is a basic skeleton custom Userdata Keymap file, follow the instrutions for HOW-TO:Modify_keyboard.xml and copy the following into your Keyboard.xml

<keymap>
  <global>
    <keyboard>
      <numpadzero>OSD</numpadzero>
      <numpadone>Stop</numpadone>
      <numpadtwo>Down</numpadtwo>
      <numpadthree>BigStepBack</numpadthree>
      <numpadfour>Left</numpadfour>
      <numpadfive>Select</numpadfive>
      <numpadsix>Right</numpadsix>
      <numpadseven>XBMC.ActivateWindow(Home)</numpadseven>
      <numpadeight>Up</numpadeight>
      <numpadnine>BigStepForward</numpadnine>
      <numpaddivide>StepBack</numpaddivide>
      <!-- my numpad divide shows up as "forwardslash" -->
      <forwardslash>StepBack</forwardslash>
      <numpadtimes>StepForward</numpadtimes>
      <numpadperiod>Info</numpadperiod>
      <numlock>Pause</numlock>
      <!-- + and - handle the volume by default -->
      <!-- BackSpace is "back" by default -->
      <!-- Enter is "select" by default -->
    </keyboard>
  </global>
</keymap>