aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorNedScott <ned@nedscott.com>2015-09-19 12:44:55 -0700
committerNedScott <ned@nedscott.com>2015-09-28 09:20:51 -0700
commitb69407685cdacdf66abe2fee8504e81b011342b0 (patch)
tree131c1cde1099475cede800e651ec8964bf9d2f78 /system
parentbf43e2bc5b47401529b242256a3d703e372902b3 (diff)
Addiitonal long-press modifications
Additional long-press modifications to improve small button remotes. This also adds a missing "browser_back" which is used in a lot of new remotes (that are seen as keyboards) as a back button. That's mainly for Linux, as Kodi on Android already translates "browser_back" as being "back" globally.
Diffstat (limited to 'system')
-rw-r--r--system/keymaps/keyboard.xml40
1 files changed, 39 insertions, 1 deletions
diff --git a/system/keymaps/keyboard.xml b/system/keymaps/keyboard.xml
index edd0ee5e15..4ca667ee26 100644
--- a/system/keymaps/keyboard.xml
+++ b/system/keymaps/keyboard.xml
@@ -61,6 +61,8 @@
<enter mod="longpress">ContextMenu</enter>
<backspace>Back</backspace>
<backspace mod="longpress">ActivateWindow(Home)</backspace>
+ <browser_back>Back</browser_back>
+ <browser_back mod="longpress">ActivateWindow(Home)</browser_back>
<key id='65446'>Back</key>
<m>Menu</m>
<m mod="ctrl">ActivateWindow(PlayerControls)</m>
@@ -181,7 +183,22 @@
</Home>
<VirtualKeyboard>
<keyboard>
+ <left>Left</left>
+ <right>Right</right>
+ <up>Up</up>
+ <down>Down</down>
+ <return>Select</return>
+ <enter>Select</enter>
+ <return mod="longpress">Enter</return>
+ <enter mod="longpress">Enter</enter>
+ <left mod="longpress">Backspace</left>
+ <right mod="longpress">Number0</right> <!-- first entry creates a space -->
+ <up mod="longpress">Shift</up>
+ <down mod="longpress">Symbols</down>
<backspace>Backspace</backspace>
+ <browser_back>Backspace</browser_back>
+ <backspace mod="longpress">PreviousMenu</backspace>
+ <browser_back mod="longpress">PreviousMenu</browser_back>
</keyboard>
</VirtualKeyboard>
<MyTVChannels>
@@ -261,11 +278,16 @@
<period>StepForward</period>
<comma>StepBack</comma>
<backspace>Fullscreen</backspace>
- <quote>Seek(-7)</quote><!-- Replaces smallstepback -->
+ <backspace mod="longpress">Stop</backspace>
+ <browser_back>Fullscreen</browser_back>
+ <browser_back mod="longpress">Stop</browser_back>
+ <quote>Seek(-7)</quote> <!-- Replaces smallstepback -->
<opensquarebracket>BigStepForward</opensquarebracket>
<closesquarebracket>BigStepBack</closesquarebracket>
<return>OSD</return>
<enter>OSD</enter>
+ <return mod="longpress">PlayPause</return>
+ <enter mod="longpress">PlayPause</enter>
<m>OSD</m>
<menu>OSD</menu>
<i>Info</i>
@@ -320,6 +342,9 @@
<pageup>IncreaseRating</pageup>
<pagedown>DecreaseRating</pagedown>
<backspace>Fullscreen</backspace>
+ <backspace mod="longpress">Stop</backspace>
+ <browser_back>Fullscreen</browser_back>
+ <browser_back mod="longpress">Stop</browser_back>
<return>OSD</return>
<enter>OSD</enter>
<m>OSD</m>
@@ -532,6 +557,7 @@
<Favourites>
<keyboard>
<backspace>Close</backspace>
+ <browser_back>Close</browser_back>
<u>MoveItemUp</u>
<d>MoveItemDown</d>
</keyboard>
@@ -539,6 +565,7 @@
<NumericInput>
<keyboard>
<backspace>Close</backspace>
+ <browser_back>Close</browser_back>
</keyboard>
</NumericInput>
<FullscreenLiveTV>
@@ -547,6 +574,10 @@
<right>StepForward</right>
<up>Up</up>
<down>Down</down>
+ <return>OSD</return>
+ <enter>OSD</enter>
+ <return mod="longpress">ActivateWindow(PVROSDChannels)</return>
+ <enter mod="longpress">ActivateWindow(PVROSDChannels)</enter>
<pageup>ChannelUp</pageup>
<pagedown>ChannelDown</pagedown>
</keyboard>
@@ -557,6 +588,10 @@
<right>StepForward</right>
<up>Up</up>
<down>Down</down>
+ <return>OSD</return>
+ <enter>OSD</enter>
+ <return mod="longpress">ActivateWindow(PVROSDChannels)</return>
+ <enter mod="longpress">ActivateWindow(PVROSDChannels)</enter>
<pageup>ChannelUp</pageup>
<pagedown>ChannelDown</pagedown>
</keyboard>
@@ -565,6 +600,7 @@
<keyboard>
<backspace>Close</backspace>
<escape>Close</escape>
+ <browser_back>Close</browser_back>
<c>Close</c>
</keyboard>
</PVROSDChannels>
@@ -572,11 +608,13 @@
<keyboard>
<backspace>Close</backspace>
<escape>Close</escape>
+ <browser_back>Close</browser_back>
</keyboard>
</PVROSDGuide>
<MyTVSettings>
<keyboard>
<backspace>PreviousMenu</backspace>
+ <browser_back>PreviousMenu</browser_back>
</keyboard>
</MyTVSettings>
<FileBrowser>