summaryrefslogtreecommitdiff
path: root/apps/plugins/pacbox
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pacbox')
-rw-r--r--apps/plugins/pacbox/pacbox.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h
index a3d42b099c..aa8c41fa95 100644
--- a/apps/plugins/pacbox/pacbox.h
+++ b/apps/plugins/pacbox/pacbox.h
@@ -398,6 +398,16 @@
398#define PACMAN_1UP BUTTON_VOL_UP 398#define PACMAN_1UP BUTTON_VOL_UP
399#define PACMAN_COIN BUTTON_PLAY 399#define PACMAN_COIN BUTTON_PLAY
400 400
401#elif CONFIG_KEYPAD == SHANLING_Q1_PAD
402#define PACMAN_UP BUTTON_TOPMIDDLE
403#define PACMAN_DOWN BUTTON_BOTTOMMIDDLE
404#define PACMAN_LEFT BUTTON_MIDLEFT
405#define PACMAN_RIGHT BUTTON_MIDRIGHT
406#define PACMAN_MENU BUTTON_TOPLEFT
407#define PACMAN_1UP BUTTON_BOTTOMLEFT
408#define PACMAN_2UP BUTTON_BOTTOMRIGHT
409#define PACMAN_COIN BUTTON_CENTER
410
401#else 411#else
402 412
403#error Keymap not defined! 413#error Keymap not defined!