diff options
Diffstat (limited to 'apps/plugins/chessbox')
-rw-r--r-- | apps/plugins/chessbox/chessbox_pgn.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/plugins/chessbox/chessbox_pgn.h b/apps/plugins/chessbox/chessbox_pgn.h index c454058fe2..970bcc466a 100644 --- a/apps/plugins/chessbox/chessbox_pgn.h +++ b/apps/plugins/chessbox/chessbox_pgn.h | |||
@@ -216,6 +216,21 @@ | |||
216 | #define CB_SCROLL_LEFT (BUTTON_LEFT|BUTTON_REPEAT) | 216 | #define CB_SCROLL_LEFT (BUTTON_LEFT|BUTTON_REPEAT) |
217 | #define CB_SCROLL_RIGHT (BUTTON_RIGHT|BUTTON_REPEAT) | 217 | #define CB_SCROLL_RIGHT (BUTTON_RIGHT|BUTTON_REPEAT) |
218 | 218 | ||
219 | #elif CONFIG_KEYPAD == SANSA_M200_PAD | ||
220 | #define CB_SELECT (BUTTON_SELECT | BUTTON_REPEAT) | ||
221 | #define CB_UP BUTTON_UP | ||
222 | #define CB_DOWN BUTTON_DOWN | ||
223 | #define CB_LEFT BUTTON_LEFT | ||
224 | #define CB_RIGHT BUTTON_RIGHT | ||
225 | #define CB_PLAY BUTTON_VOL_UP | ||
226 | #define CB_LEVEL (BUTTON_SELECT | BUTTON_UP) | ||
227 | #define CB_MENU BUTTON_POWER | ||
228 | |||
229 | #define CB_SCROLL_UP (BUTTON_UP|BUTTON_REPEAT) | ||
230 | #define CB_SCROLL_DOWN (BUTTON_DOWN|BUTTON_REPEAT) | ||
231 | #define CB_SCROLL_LEFT (BUTTON_LEFT|BUTTON_REPEAT) | ||
232 | #define CB_SCROLL_RIGHT (BUTTON_RIGHT|BUTTON_REPEAT) | ||
233 | |||
219 | #elif CONFIG_KEYPAD == SANSA_C200_PAD | 234 | #elif CONFIG_KEYPAD == SANSA_C200_PAD |
220 | #define CB_SELECT BUTTON_SELECT | 235 | #define CB_SELECT BUTTON_SELECT |
221 | #define CB_UP BUTTON_UP | 236 | #define CB_UP BUTTON_UP |