diff options
Diffstat (limited to 'apps/plugins/chessbox/chessbox_pgn.h')
-rw-r--r-- | apps/plugins/chessbox/chessbox_pgn.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/plugins/chessbox/chessbox_pgn.h b/apps/plugins/chessbox/chessbox_pgn.h index 34f68cb325..fe50297732 100644 --- a/apps/plugins/chessbox/chessbox_pgn.h +++ b/apps/plugins/chessbox/chessbox_pgn.h | |||
@@ -544,6 +544,20 @@ | |||
544 | #elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD | 544 | #elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD |
545 | #define CB_MENU BUTTON_MENU | 545 | #define CB_MENU BUTTON_MENU |
546 | 546 | ||
547 | #elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD | ||
548 | #define CB_SELECT BUTTON_SELECT | ||
549 | #define CB_UP BUTTON_UP | ||
550 | #define CB_DOWN BUTTON_DOWN | ||
551 | #define CB_LEFT BUTTON_LEFT | ||
552 | #define CB_RIGHT BUTTON_RIGHT | ||
553 | #define CB_PLAY BUTTON_VOLDOWN | ||
554 | #define CB_MENU BUTTON_POWER | ||
555 | #define CB_LEVEL BUTTON_VOLUP | ||
556 | #define CB_SCROLL_UP (BUTTON_UP|BUTTON_REPEAT) | ||
557 | #define CB_SCROLL_DOWN (BUTTON_DOWN|BUTTON_REPEAT) | ||
558 | #define CB_SCROLL_LEFT (BUTTON_LEFT|BUTTON_REPEAT) | ||
559 | #define CB_SCROLL_RIGHT (BUTTON_RIGHT|BUTTON_REPEAT) | ||
560 | |||
547 | #else | 561 | #else |
548 | #error No keymap defined! | 562 | #error No keymap defined! |
549 | #endif | 563 | #endif |