Alternative keymaps for number pads: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Xbmc.wiki
(Created page with "<section begin=listsummary />Allows a USB NumPad/KeyPad to control XBMC<section end=listsummary /> This is a basic skeleton custom Userdata Keymap file, follow the instr...")
 
(No difference)

Revision as of 20:28, 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

<!-- Keypad keymap for xbmc -->
<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>