diff options
Diffstat (limited to 'apps/plugins/chessbox/chessbox_pgn.h')
-rw-r--r-- | apps/plugins/chessbox/chessbox_pgn.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/chessbox/chessbox_pgn.h b/apps/plugins/chessbox/chessbox_pgn.h index abb0f8399b..d292e6b40a 100644 --- a/apps/plugins/chessbox/chessbox_pgn.h +++ b/apps/plugins/chessbox/chessbox_pgn.h @@ -333,6 +333,16 @@ #define CB_RESTART BUTTON_VOL_DOWN #define CB_MENU (BUTTON_MENU|BUTTON_REL) +#elif CONFIG_KEYPAD == SAMSUNG_YH_PAD +#define CB_SELECT (BUTTON_FFWD|BUTTON_RIGHT) +#define CB_UP BUTTON_UP +#define CB_DOWN BUTTON_DOWN +#define CB_LEFT BUTTON_LEFT +#define CB_RIGHT BUTTON_RIGHT +#define CB_PLAY BUTTON_PLAY +#define CB_LEVEL (BUTTON_FFWD|BUTTON_UP) +#define CB_MENU (BUTTON_FFWD|BUTTON_LEFT) + #else #error No keymap defined! #endif |