diff options
author | Vitja Makarov <vitja.makarov@gmail.com> | 2008-10-07 16:38:28 +0000 |
---|---|---|
committer | Vitja Makarov <vitja.makarov@gmail.com> | 2008-10-07 16:38:28 +0000 |
commit | 2f84f699c0df4a82dfdcb2244e1c7bf4af99fc72 (patch) | |
tree | 179ebbbea6f2f234850e42b668813852d10817cb /apps/plugins/pacbox/pacbox.h | |
parent | 981bd1cb3e65fdf86db03d9328232e58cf14ff1e (diff) | |
download | rockbox-2f84f699c0df4a82dfdcb2244e1c7bf4af99fc72.tar.gz rockbox-2f84f699c0df4a82dfdcb2244e1c7bf4af99fc72.zip |
IAUDIO67_PAD: Add keymaps for most of the plugins, they are not all tested yet.
IAUDIO7: Define MODEL_NAME in config
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18730 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pacbox/pacbox.h')
-rw-r--r-- | apps/plugins/pacbox/pacbox.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h index 4e51e3c868..f38831e608 100644 --- a/apps/plugins/pacbox/pacbox.h +++ b/apps/plugins/pacbox/pacbox.h | |||
@@ -147,6 +147,18 @@ | |||
147 | 147 | ||
148 | #define PACMAN_MENU (BUTTON_MENU|BUTTON_REL) | 148 | #define PACMAN_MENU (BUTTON_MENU|BUTTON_REL) |
149 | 149 | ||
150 | #elif CONFIG_KEYPAD == IAUDIO67_PAD | ||
151 | |||
152 | #define PACMAN_UP BUTTON_STOP | ||
153 | #define PACMAN_DOWN BUTTON_PLAY | ||
154 | #define PACMAN_LEFT BUTTON_LEFT | ||
155 | #define PACMAN_RIGHT BUTTON_RIGHT | ||
156 | #define PACMAN_1UP BUTTON_VOLDOWN | ||
157 | #define PACMAN_2UP BUTTON_VOLUP | ||
158 | #define PACMAN_COIN_PRE BUTTON_MENU | ||
159 | #define PACMAN_COIN (BUTTON_MENU | BUTTON_PLAY) | ||
160 | #define PACMAN_MENU BUTTON_POWER | ||
161 | |||
150 | #else | 162 | #else |
151 | 163 | ||
152 | #error Keymap not defined! | 164 | #error Keymap not defined! |