diff options
author | Martijn Kaijser <martijn@xbmc.org> | 2015-12-22 11:58:15 +0100 |
---|---|---|
committer | Martijn Kaijser <martijn@xbmc.org> | 2015-12-22 11:58:15 +0100 |
commit | ec8bc11ed6f6d6f5f387a5aefdc2c4948a505952 (patch) | |
tree | 51533032c028eec0f2f6a7de192142fcdea9f30e | |
parent | a9c4ec0ce28ce553916ea90fec5d8c4238505086 (diff) | |
parent | a76fc383f8bf60b83aaf5b01b12f4fa21a41dad2 (diff) |
Merge pull request #8646 from NedScott/Jarvis-missing_numbers
Correct numeric input for newer PVR windows
-rw-r--r-- | system/keymaps/remote.xml | 137 |
1 files changed, 95 insertions, 42 deletions
diff --git a/system/keymaps/remote.xml b/system/keymaps/remote.xml index c2bd99d06c..3a45b36324 100644 --- a/system/keymaps/remote.xml +++ b/system/keymaps/remote.xml @@ -1,45 +1,36 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- This file contains the mapping of keys (gamepad, remote, and keyboard) to actions within XBMC --> -<!-- The <global> section is a fall through - they will only be used if the button is not --> -<!-- used in the current window's section. Note that there is only handling --> -<!-- for a single action per button at this stage. --> -<!-- For joystick/gamepad configuration under linux/win32, see below as it differs from xbox --> -<!-- gamepads. --> - -<!-- The format is: --> -<!-- <device> --> -<!-- <button>action</button> --> -<!-- </device> --> - -<!-- To map keys from other remotes using the RCA protocol, you may add <universalremote> blocks --> -<!-- In this case, the tags used are <obc#> where # is the original button code (OBC) of the key --> -<!-- You set it up by adding a <universalremote> block to the window or <global> section: --> -<!-- <universalremote> --> -<!-- <obc45>Stop</obc45> --> -<!-- </universalremote> --> - -<!-- Note that the action can be a built-in function. --> -<!-- eg <B>ActivateWindow(MyMusic)</B> --> -<!-- would automatically go to My Music on the press of the B button. --> -<!-- An empty action removes the corresponding mapping from the default keymap --> - -<!-- Joysticks / Gamepads: --> -<!-- See the sample PS3 controller configuration below for the format. --> -<!-- --> -<!-- Joystick Name: --> -<!-- Do 'cat /proc/bus/input/devices' or see your xbmc log file to find the names of --> -<!-- detected joysticks. The name used in the configuration should match the detected name. --> -<!-- --> -<!-- Button Ids: --> -<!-- 'id' is the button ID used by SDL. Joystick button ids of connected joysticks appear --> -<!-- in xbmc.log when they are pressed. Use your log to map custom buttons to actions. --> -<!-- --> -<!-- Axis Ids / Analog Controls --> -<!-- Coming soon. --> -<!-- --> -<!-- Long presses --> -<!-- A limitation is that if a single press is mapped in a section, a global "longpress" --> -<!-- will be ignored. The workaround is to duplicate the long mapping in the section. --> +<!-- This file contains the mapping of keyboard keys to actions within Kodi. --> +<!-- --> +<!-- The format is: --> +<!-- <window> --> +<!-- <device> --> +<!-- <button>action</button> --> +<!-- </device> --> +<!-- </window> --> +<!-- --> +<!-- To map keys from other remotes using the RCA protocol, you may add <universalremote> --> +<!-- blocks. In this case, the tags used are <obc#> where # is the original button code --> +<!-- (OBC) of the key. You set it up by adding a <universalremote> block to the window or --> +<!-- <global> section: --> +<!-- <universalremote> --> +<!-- <obc45>Stop</obc45> --> +<!-- </universalremote> --> +<!-- --> +<!-- The <global> section is a fall through - they will only be used if the button is --> +<!-- not used in the current window's section. --> +<!-- --> +<!-- Actions can be built-in functions. --> +<!-- eg <B>ActivateWindow(MyMusic)</B> --> +<!-- would automatically go to Music on the press of the B button. --> +<!-- --> +<!-- Long presses --> +<!-- A limitation is that if a single press is mapped in a section, a global "longpress"--> +<!-- will be ignored. The workaround is to duplicate the long mapping in the section. --> +<!-- --> +<!-- An empty action removes the corresponding mapping from default and parent keymaps. --> +<!-- This is different from a "noop" action, which disables a button. --> +<!-- --> +<!-- More documentation on keymaps can be found on http://kodi.wiki/view/keymaps --> <keymap> <global> <remote> @@ -607,6 +598,16 @@ <rootmenu>Close</rootmenu> <start>Close</start> <playlist>Close</playlist> + <zero>Number0</zero> + <one>Number1</one> + <two>number2</two> + <three>number3</three> + <four>number4</four> + <five>number5</five> + <six>number6</six> + <seven>number7</seven> + <eight>number8</eight> + <nine>number9</nine> </remote> </PVROSDChannels> <PVROSDGuide> @@ -617,8 +618,60 @@ <rootmenu>Close</rootmenu> <start>Close</start> <guide>Close</guide> + <zero>Number0</zero> + <one>Number1</one> + <two>number2</two> + <three>number3</three> + <four>number4</four> + <five>number5</five> + <six>number6</six> + <seven>number7</seven> + <eight>number8</eight> + <nine>number9</nine> </remote> </PVROSDGuide> + <TVChannels> + <remote> + <zero>Number0</zero> + <one>Number1</one> + <two>number2</two> + <three>number3</three> + <four>number4</four> + <five>number5</five> + <six>number6</six> + <seven>number7</seven> + <eight>number8</eight> + <nine>number9</nine> + </remote> + </TVChannels> + <TVGuide> + <remote> + <zero>Number0</zero> + <one>Number1</one> + <two>number2</two> + <three>number3</three> + <four>number4</four> + <five>number5</five> + <six>number6</six> + <seven>number7</seven> + <eight>number8</eight> + <nine>number9</nine> + </remote> + </TVGuide> + <RadioChannels> + <remote> + <zero>Number0</zero> + <one>Number1</one> + <two>number2</two> + <three>number3</three> + <four>number4</four> + <five>number5</five> + <six>number6</six> + <seven>number7</seven> + <eight>number8</eight> + <nine>number9</nine> + </remote> + </RadioChannels> <MyTVSettings> <remote> <back>PreviousMenu</back> @@ -637,4 +690,4 @@ <blue>Blue</blue> </remote> </Addon> -</keymap> +</keymap>
\ No newline at end of file |