summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2010-02-14 17:32:47 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2010-02-14 17:32:47 +0000
commit19a05cb4f9adfed444c3ce7d2cc3fe8fa633fcf2 (patch)
tree8f484e3611f9004b414bc6662680986d6c4f68fb /apps
parent7b5875ef5c5ec4b79f2af8469258164b723b0b3b (diff)
Touchscreen: Pitch-screen and Quick-screen keymapping changes
- Quick-screen: Allow exit by pressing any corner - Pitch-screen: Exit by pressing either of the top or bottom left corners - Pitch-screen: Toggle mode by pressing either of the top or bottom right corners git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24652 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/keymaps/keymap-touchscreen.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/keymaps/keymap-touchscreen.c b/apps/keymaps/keymap-touchscreen.c
index dc554e0e9d..b4e9d97395 100644
--- a/apps/keymaps/keymap-touchscreen.c
+++ b/apps/keymaps/keymap-touchscreen.c
@@ -207,6 +207,10 @@ static const struct button_mapping button_context_quickscreen[] = {
{ ACTION_NONE, BUTTON_MIDLEFT, BUTTON_NONE },
{ ACTION_STD_CANCEL, BUTTON_CENTER|BUTTON_REL, BUTTON_NONE },
+ { ACTION_STD_CANCEL, BUTTON_TOPLEFT|BUTTON_REL, BUTTON_NONE },
+ { ACTION_STD_CANCEL, BUTTON_TOPRIGHT|BUTTON_REL, BUTTON_NONE },
+ { ACTION_STD_CANCEL, BUTTON_BOTTOMLEFT|BUTTON_REL, BUTTON_NONE },
+ { ACTION_STD_CANCEL, BUTTON_BOTTOMRIGHT|BUTTON_REL, BUTTON_NONE },
{ ACTION_QS_TOP, BUTTON_TOPMIDDLE|BUTTON_REL, BUTTON_NONE },
{ ACTION_QS_TOP, BUTTON_TOPMIDDLE|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_QS_DOWN, BUTTON_BOTTOMMIDDLE|BUTTON_REL, BUTTON_NONE },
@@ -228,9 +232,11 @@ static const struct button_mapping button_context_pitchscreen[] = {
{ ACTION_PS_NUDGE_LEFTOFF, BUTTON_MIDLEFT|BUTTON_REL, BUTTON_NONE },
{ ACTION_PS_NUDGE_RIGHT, BUTTON_MIDRIGHT, BUTTON_NONE },
{ ACTION_PS_NUDGE_RIGHTOFF, BUTTON_MIDRIGHT|BUTTON_REL, BUTTON_NONE },
+ { ACTION_PS_TOGGLE_MODE, BUTTON_TOPRIGHT, BUTTON_NONE },
{ ACTION_PS_TOGGLE_MODE, BUTTON_BOTTOMRIGHT, BUTTON_NONE },
{ ACTION_PS_RESET, BUTTON_CENTER, BUTTON_NONE },
{ ACTION_PS_EXIT, BUTTON_TOPLEFT, BUTTON_NONE },
+ { ACTION_PS_EXIT, BUTTON_BOTTOMLEFT, BUTTON_NONE },
{ ACTION_PS_SLOWER, BUTTON_MIDLEFT|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_PS_FASTER, BUTTON_MIDRIGHT|BUTTON_REPEAT, BUTTON_NONE },
LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_CUSTOM2|CONTEXT_PITCHSCREEN)