summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox/chessbox_pgn.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/chessbox/chessbox_pgn.h')
-rw-r--r--apps/plugins/chessbox/chessbox_pgn.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/chessbox/chessbox_pgn.h b/apps/plugins/chessbox/chessbox_pgn.h
index a41fcb6b7f..a6858ba478 100644
--- a/apps/plugins/chessbox/chessbox_pgn.h
+++ b/apps/plugins/chessbox/chessbox_pgn.h
@@ -433,6 +433,16 @@
433#define CB_LEVEL BUTTON_BACK 433#define CB_LEVEL BUTTON_BACK
434#define CB_MENU BUTTON_MENU 434#define CB_MENU BUTTON_MENU
435 435
436#elif CONFIG_KEYPAD == HM60X_PAD
437#define CB_SELECT BUTTON_SELECT
438#define CB_UP BUTTON_UP
439#define CB_DOWN BUTTON_DOWN
440#define CB_LEFT BUTTON_LEFT
441#define CB_RIGHT BUTTON_RIGHT
442#define CB_PLAY (BUTTON_POWER | BUTTON_SELECT)
443#define CB_LEVEL (BUTTON_POWER | BUTTON_LEFT)
444#define CB_MENU (BUTTON_POWER | BUTTON_RIGHT)
445
436#else 446#else
437#error No keymap defined! 447#error No keymap defined!
438#endif 448#endif