summaryrefslogtreecommitdiff
path: root/apps/keymaps/keymap-touchscreen.c
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2009-09-01 19:59:59 +0000
committerRob Purchase <shotofadds@rockbox.org>2009-09-01 19:59:59 +0000
commit166606cea08761ce3d1acf6283db97ede444bd98 (patch)
tree3a07e11588df2bc08539657d295fbd0b551b42ae /apps/keymaps/keymap-touchscreen.c
parentffaf24674d6528606be7a62a1bc7db24d0793e88 (diff)
downloadrockbox-166606cea08761ce3d1acf6283db97ede444bd98.zip
rockbox-166606cea08761ce3d1acf6283db97ede444bd98.tar.gz
rockbox-166606cea08761ce3d1acf6283db97ede444bd98.tar.bz2
rockbox-166606cea08761ce3d1acf6283db97ede444bd98.tar.xz
D2: Move ACTION_WPS_STOP from the power button as it's too easy to hit by accident when disengaging the hold switch. Use a long press of the top-right touchscreen area instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22594 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps/keymap-touchscreen.c')
-rw-r--r--apps/keymaps/keymap-touchscreen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/keymaps/keymap-touchscreen.c b/apps/keymaps/keymap-touchscreen.c
index dfa4fde..eda9237 100644
--- a/apps/keymaps/keymap-touchscreen.c
+++ b/apps/keymaps/keymap-touchscreen.c
@@ -72,6 +72,7 @@ static const struct button_mapping button_context_standard[] = {
static const struct button_mapping button_context_wps[] = {
{ ACTION_WPS_PLAY, BUTTON_TOPRIGHT|BUTTON_REL, BUTTON_TOPRIGHT },
+ { ACTION_WPS_STOP, BUTTON_TOPRIGHT|BUTTON_REPEAT, BUTTON_TOPRIGHT },
{ ACTION_WPS_SKIPNEXT, BUTTON_MIDRIGHT|BUTTON_REL, BUTTON_MIDRIGHT },
{ ACTION_WPS_SKIPPREV, BUTTON_MIDLEFT|BUTTON_REL, BUTTON_MIDLEFT },