summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/chessbox')
-rw-r--r--apps/plugins/chessbox/chessbox.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c
index 092de1825a..161de45e90 100644
--- a/apps/plugins/chessbox/chessbox.c
+++ b/apps/plugins/chessbox/chessbox.c
@@ -100,6 +100,16 @@ PLUGIN_HEADER
100#define CB_LEVEL (BUTTON_MENU|BUTTON_OFF) 100#define CB_LEVEL (BUTTON_MENU|BUTTON_OFF)
101#define CB_QUIT BUTTON_OFF 101#define CB_QUIT BUTTON_OFF
102 102
103#elif (CONFIG_KEYPAD == GIGABEAT_PAD)
104#define CB_SELECT BUTTON_SELECT
105#define CB_UP BUTTON_UP
106#define CB_DOWN BUTTON_DOWN
107#define CB_LEFT BUTTON_LEFT
108#define CB_RIGHT BUTTON_RIGHT
109#define CB_PLAY BUTTON_POWER
110#define CB_LEVEL BUTTON_MENU
111#define CB_QUIT BUTTON_A
112
103#else 113#else
104 #error CHESSBOX: Unsupported keypad 114 #error CHESSBOX: Unsupported keypad
105#endif 115#endif