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.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/chessbox/chessbox_pgn.h b/apps/plugins/chessbox/chessbox_pgn.h
index c7aca0f939..df6a01c891 100644
--- a/apps/plugins/chessbox/chessbox_pgn.h
+++ b/apps/plugins/chessbox/chessbox_pgn.h
@@ -485,6 +485,19 @@
485#define CB_MENU BUTTON_MENU 485#define CB_MENU BUTTON_MENU
486#define CB_LEVEL BUTTON_BACK 486#define CB_LEVEL BUTTON_BACK
487 487
488#elif CONFIG_KEYPAD == DX50_PAD
489#define CB_SELECT BUTTON_PLAY
490#define CB_UP BUTTON_VOL_UP
491#define CB_DOWN BUTTON_VOL_DOWN
492#define CB_LEFT BUTTON_LEFT
493#define CB_RIGHT BUTTON_RIGHT
494#define CB_PLAY (BUTTON_PLAY|BUTTON_REPEAT)
495#define CB_MENU BUTTON_POWER
496#define CB_SCROLL_UP (BUTTON_VOL_UP|BUTTON_REPEAT)
497#define CB_SCROLL_DOWN (BUTTON_VOL_DOWN|BUTTON_REPEAT)
498#define CB_SCROLL_LEFT (BUTTON_LEFT|BUTTON_REPEAT)
499#define CB_SCROLL_RIGHT (BUTTON_RIGHT|BUTTON_REPEAT)
500
488#else 501#else
489#error No keymap defined! 502#error No keymap defined!
490#endif 503#endif