diff options
Diffstat (limited to 'apps/plugins/pacbox')
-rw-r--r-- | apps/plugins/pacbox/pacbox.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h index d9b8ec7460..3c906ac0aa 100644 --- a/apps/plugins/pacbox/pacbox.h +++ b/apps/plugins/pacbox/pacbox.h | |||
@@ -254,6 +254,17 @@ | |||
254 | #define PACMAN_COIN BUTTON_PLAYPAUSE | 254 | #define PACMAN_COIN BUTTON_PLAYPAUSE |
255 | #define PACMAN_MENU BUTTON_POWER | 255 | #define PACMAN_MENU BUTTON_POWER |
256 | 256 | ||
257 | #elif CONFIG_KEYPAD == SANSA_CONNECT_PAD | ||
258 | |||
259 | #define PACMAN_UP BUTTON_UP | ||
260 | #define PACMAN_DOWN BUTTON_DOWN | ||
261 | #define PACMAN_LEFT BUTTON_LEFT | ||
262 | #define PACMAN_RIGHT BUTTON_RIGHT | ||
263 | #define PACMAN_1UP BUTTON_SELECT | ||
264 | #define PACMAN_2UP BUTTON_NEXT | ||
265 | #define PACMAN_COIN BUTTON_VOL_DOWN | ||
266 | #define PACMAN_MENU BUTTON_POWER | ||
267 | |||
257 | #else | 268 | #else |
258 | 269 | ||
259 | #error Keymap not defined! | 270 | #error Keymap not defined! |