diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2009-01-04 23:33:15 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2009-01-04 23:33:15 +0000 |
commit | 6d5823f964d8cc2b030d7a713d355f3132e41c45 (patch) | |
tree | 4ca09cc6020717948fd21bccdd29265ed2c454fc /apps/plugins/chessbox | |
parent | d32ebec9dadb053ab6d63aaa581465ad18ec572e (diff) |
Commit FS#9617 - Keymaps for Plugins fuze by Thomas Martitz.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19673 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/chessbox')
-rw-r--r-- | apps/plugins/chessbox/chessbox_pgn.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/plugins/chessbox/chessbox_pgn.h b/apps/plugins/chessbox/chessbox_pgn.h index 970bcc466a..351a32ac57 100644 --- a/apps/plugins/chessbox/chessbox_pgn.h +++ b/apps/plugins/chessbox/chessbox_pgn.h @@ -201,6 +201,22 @@ #define CB_SCROLL_LEFT (BUTTON_LEFT|BUTTON_REPEAT) #define CB_SCROLL_RIGHT (BUTTON_RIGHT|BUTTON_REPEAT) +#elif CONFIG_KEYPAD == SANSA_FUZE_PAD +#define CB_SELECT BUTTON_SELECT +#define CB_UP BUTTON_UP +#define CB_DOWN BUTTON_DOWN +#define CB_LEFT BUTTON_LEFT +#define CB_RIGHT BUTTON_RIGHT +#define CB_PLAY (BUTTON_SELECT | BUTTON_RIGHT) +#define CB_LEVEL (BUTTON_SELECT|BUTTON_LEFT) +#define CB_RESTART (BUTTON_SELECT | BUTTON_REPEAT) +#define CB_MENU BUTTON_POWER + +#define CB_SCROLL_UP (BUTTON_SCROLL_UP|BUTTON_REPEAT) +#define CB_SCROLL_DOWN (BUTTON_SCROLL_DOWN|BUTTON_REPEAT) +#define CB_SCROLL_LEFT (BUTTON_LEFT|BUTTON_REPEAT) +#define CB_SCROLL_RIGHT (BUTTON_RIGHT|BUTTON_REPEAT) + #elif CONFIG_KEYPAD == SANSA_CLIP_PAD #define CB_SELECT BUTTON_SELECT #define CB_UP BUTTON_UP |