diff options
Diffstat (limited to 'apps/plugins/pacbox')
-rw-r--r-- | apps/plugins/pacbox/pacbox.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h index 3461bd62c7..eb97d828e2 100644 --- a/apps/plugins/pacbox/pacbox.h +++ b/apps/plugins/pacbox/pacbox.h | |||
@@ -363,6 +363,27 @@ | |||
363 | #define PACMAN_1UP BUTTON_VOLUP | 363 | #define PACMAN_1UP BUTTON_VOLUP |
364 | #define PACMAN_COIN BUTTON_VOLDOWN | 364 | #define PACMAN_COIN BUTTON_VOLDOWN |
365 | 365 | ||
366 | #elif CONFIG_KEYPAD == IHIFI2_PAD | ||
367 | |||
368 | #elif CONFIG_KEYPAD == IHIFI_770_PAD | ||
369 | #define PACMAN_UP BUTTON_PREV | ||
370 | #define PACMAN_DOWN BUTTON_NEXT | ||
371 | #define PACMAN_LEFT BUTTON_HOME | ||
372 | #define PACMAN_RIGHT BUTTON_VOL_DOWN | ||
373 | #define PACMAN_MENU BUTTON_POWER | ||
374 | #define PACMAN_1UP BUTTON_VOL_UP | ||
375 | #define PACMAN_COIN BUTTON_PLAY | ||
376 | |||
377 | #elif CONFIG_KEYPAD == IHIFI_800_PAD | ||
378 | |||
379 | #define PACMAN_UP BUTTON_PREV | ||
380 | #define PACMAN_DOWN BUTTON_NEXT | ||
381 | #define PACMAN_LEFT BUTTON_HOME | ||
382 | #define PACMAN_RIGHT BUTTON_VOL_DOWN | ||
383 | #define PACMAN_MENU BUTTON_POWER | ||
384 | #define PACMAN_1UP BUTTON_VOL_UP | ||
385 | #define PACMAN_COIN BUTTON_PLAY | ||
386 | |||
366 | #else | 387 | #else |
367 | 388 | ||
368 | #error Keymap not defined! | 389 | #error Keymap not defined! |