summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pacbox/pacbox.h
diff options
context:
space:
mode:
authorSebastian Leonhardt <sebastian.leonhardt@web.de>2015-12-27 18:14:41 +0100
committerSebastian Leonhardt <sebastian.leonhardt@web.de>2015-12-27 18:14:41 +0100
commit5e91ec14011656d8952007aceb99189cd28786ba (patch)
tree6e0d8a4850f5f7ec85f01bf599e840c25659881f /apps/plugins/pacbox/pacbox.h
parentad65f8cc71bfe9e98936d5f781263850a9d50cc0 (diff)
downloadrockbox-5e91ec14011656d8952007aceb99189cd28786ba.tar.gz
rockbox-5e91ec14011656d8952007aceb99189cd28786ba.tar.bz2
rockbox-5e91ec14011656d8952007aceb99189cd28786ba.zip
Samsung YH820/92x keymap bugfixes
This patch fixes some (mostly small) plugin issues with the "big" YH-keymap patch (a507b). Only one fix affects the main keymaps (virtual keyboard "DONE" now exits after long key /release/ instead of long button /press/). Change-Id: Id34f925ebfa97ae4974cd9405fbe1fee4f597833
Diffstat (limited to 'apps/plugins/pacbox/pacbox.h')
-rw-r--r--apps/plugins/pacbox/pacbox.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h
index 5fcb51eb79..b46eaed7c1 100644
--- a/apps/plugins/pacbox/pacbox.h
+++ b/apps/plugins/pacbox/pacbox.h
@@ -234,22 +234,20 @@
#elif CONFIG_KEYPAD == SAMSUNG_YH920_PAD
-#define PACMAN_UP BUTTON_UP
-#define PACMAN_DOWN BUTTON_DOWN
-#define PACMAN_LEFT BUTTON_LEFT
-#define PACMAN_RIGHT BUTTON_RIGHT
+#define PACMAN_UP BUTTON_RIGHT
+#define PACMAN_DOWN BUTTON_LEFT
+#define PACMAN_LEFT BUTTON_UP
+#define PACMAN_RIGHT BUTTON_DOWN
#define PACMAN_1UP BUTTON_FFWD
-#define PACMAN_2UP BUTTON_REW
#define PACMAN_COIN BUTTON_PLAY
-#define PACMAN_MENU BUTTON_REC_SW_ON
-#define PACMAN_MENU2 BUTTON_REC_SW_OFF
+#define PACMAN_MENU BUTTON_REW
#elif CONFIG_KEYPAD == SAMSUNG_YH820_PAD
-#define PACMAN_UP BUTTON_UP
-#define PACMAN_DOWN BUTTON_DOWN
-#define PACMAN_LEFT BUTTON_LEFT
-#define PACMAN_RIGHT BUTTON_RIGHT
+#define PACMAN_UP BUTTON_RIGHT
+#define PACMAN_DOWN BUTTON_LEFT
+#define PACMAN_LEFT BUTTON_UP
+#define PACMAN_RIGHT BUTTON_DOWN
#define PACMAN_1UP BUTTON_FFWD
#define PACMAN_2UP BUTTON_REW
#define PACMAN_COIN BUTTON_PLAY