diff options
author | Ned Scott <ned@nedscott.com> | 2015-12-21 20:28:06 -0700 |
---|---|---|
committer | Ned Scott <ned@nedscott.com> | 2015-12-21 20:28:06 -0700 |
commit | a76fc383f8bf60b83aaf5b01b12f4fa21a41dad2 (patch) | |
tree | 2d0382dff7fc13b4d5f29dab2f4bf5bb392a4cad /system | |
parent | 6c0b051d2e7a69392df8b8928535b8b5abdc4657 (diff) |
Correct numeric input for newer PVR windows
Jarvis version of https://github.com/xbmc/xbmc/pull/8337
Numeric keys were defaulting to JumpSMS in a few PVR windows. This corrects them to be numeric input. Plus, some xbmc -> kodi and notes clean up similar to https://github.com/xbmc/xbmc/pull/8591
Diffstat (limited to 'system')
-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 aded72bba4..fae5895db9 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 |