diff options
Diffstat (limited to 'apps/plugins/chessbox')
-rw-r--r-- | apps/plugins/chessbox/chessbox_pgn.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/chessbox/chessbox_pgn.h b/apps/plugins/chessbox/chessbox_pgn.h index 3cc136e566..1e8a9ec34f 100644 --- a/apps/plugins/chessbox/chessbox_pgn.h +++ b/apps/plugins/chessbox/chessbox_pgn.h | |||
@@ -464,6 +464,17 @@ | |||
464 | #define CB_LEVEL BUTTON_PREV | 464 | #define CB_LEVEL BUTTON_PREV |
465 | #define CB_MENU BUTTON_POWER | 465 | #define CB_MENU BUTTON_POWER |
466 | 466 | ||
467 | |||
468 | #elif CONFIG_KEYPAD == SONY_NWZ_PAD | ||
469 | #define CB_SELECT BUTTON_PLAY | ||
470 | #define CB_UP BUTTON_UP | ||
471 | #define CB_DOWN BUTTON_DOWN | ||
472 | #define CB_LEFT BUTTON_LEFT | ||
473 | #define CB_RIGHT BUTTON_RIGHT | ||
474 | #define CB_PLAY (BUTTON_REPEAT|BUTTON_PLAY) | ||
475 | #define CB_MENU BUTTON_BACK | ||
476 | #define CB_LEVEL BUTTON_POWER | ||
477 | |||
467 | #else | 478 | #else |
468 | #error No keymap defined! | 479 | #error No keymap defined! |
469 | #endif | 480 | #endif |