diff options
author | Daniel Ankers <dan@weirdo.org.uk> | 2007-01-03 23:53:22 +0000 |
---|---|---|
committer | Daniel Ankers <dan@weirdo.org.uk> | 2007-01-03 23:53:22 +0000 |
commit | 17676672e0483a6c10caf0f5aead9c59fbd48e99 (patch) | |
tree | 8a8ca7c9ba1ae96fdc0c7c7891bfddd0f8031d8c /apps/plugins/pacbox/pacbox.h | |
parent | e77088f3bd78812fd35abd9a4b54c8ff91e19366 (diff) | |
download | rockbox-17676672e0483a6c10caf0f5aead9c59fbd48e99.tar.gz rockbox-17676672e0483a6c10caf0f5aead9c59fbd48e99.zip |
Improved Sansa keymappings for Pacbox, Solitaire and Star. From FS#6466 by Piotr Jafiszow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11892 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pacbox/pacbox.h')
-rw-r--r-- | apps/plugins/pacbox/pacbox.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h index 863f9b246b..e20acf93ce 100644 --- a/apps/plugins/pacbox/pacbox.h +++ b/apps/plugins/pacbox/pacbox.h | |||
@@ -89,14 +89,15 @@ | |||
89 | 89 | ||
90 | #elif CONFIG_KEYPAD == SANSA_E200_PAD | 90 | #elif CONFIG_KEYPAD == SANSA_E200_PAD |
91 | 91 | ||
92 | #define PACMAN_UP BUTTON_UP | 92 | #define PACMAN_UP BUTTON_RIGHT |
93 | #define PACMAN_DOWN BUTTON_DOWN | 93 | #define PACMAN_DOWN BUTTON_LEFT |
94 | #define PACMAN_LEFT BUTTON_LEFT | 94 | #define PACMAN_LEFT BUTTON_UP |
95 | #define PACMAN_RIGHT BUTTON_RIGHT | 95 | #define PACMAN_RIGHT BUTTON_DOWN |
96 | #define PACMAN_1UP BUTTON_SELECT | 96 | #define PACMAN_1UP BUTTON_SELECT |
97 | #define PACMAN_2UP BUTTON_POWER | 97 | #define PACMAN_2UP BUTTON_REC |
98 | #define PACMAN_COIN BUTTON_REC | 98 | #define PACMAN_COIN_PRE BUTTON_SELECT |
99 | #define PACMAN_MENU (BUTTON_SELECT|BUTTON_REPEAT) | 99 | #define PACMAN_COIN (BUTTON_SELECT | BUTTON_DOWN) |
100 | #define PACMAN_MENU BUTTON_POWER | ||
100 | 101 | ||
101 | #elif CONFIG_KEYPAD == IRIVER_H10_PAD | 102 | #elif CONFIG_KEYPAD == IRIVER_H10_PAD |
102 | 103 | ||