summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox/chessbox.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-10-26 13:38:09 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-10-26 13:38:09 +0000
commit24f4a2a8cfd561657ce25ebf93470716f07397fe (patch)
treef411d86cb56bd128fe0206d148005f0a882f686a /apps/plugins/chessbox/chessbox.c
parent34193e5cf23e7d739c2ccda0ed82e77492578cef (diff)
downloadrockbox-24f4a2a8cfd561657ce25ebf93470716f07397fe.tar.gz
rockbox-24f4a2a8cfd561657ce25ebf93470716f07397fe.zip
Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the nice image of the Sansa. Lots more to be done including testing and tweaking the keymaps and modifying the plugins for the Sansa's 176x220 LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11351 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/chessbox/chessbox.c')
-rw-r--r--apps/plugins/chessbox/chessbox.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c
index aea89817e6..fdab570bc2 100644
--- a/apps/plugins/chessbox/chessbox.c
+++ b/apps/plugins/chessbox/chessbox.c
@@ -130,6 +130,17 @@ PLUGIN_HEADER
130#define CB_RESTART (BUTTON_REW | BUTTON_PLAY) 130#define CB_RESTART (BUTTON_REW | BUTTON_PLAY)
131#define CB_QUIT BUTTON_POWER 131#define CB_QUIT BUTTON_POWER
132 132
133#elif CONFIG_KEYPAD == SANSA_E200_PAD
134#define CB_SELECT BUTTON_SELECT
135#define CB_UP BUTTON_UP
136#define CB_DOWN BUTTON_DOWN
137#define CB_LEFT BUTTON_LEFT
138#define CB_RIGHT BUTTON_RIGHT
139#define CB_PLAY (BUTTON_SELECT | BUTTON_RIGHT)
140#define CB_LEVEL BUTTON_REC
141#define CB_RESTART (BUTTON_SELECT | BUTTON_REPEAT)
142#define CB_QUIT BUTTON_POWER
143
133#else 144#else
134 #error CHESSBOX: Unsupported keypad 145 #error CHESSBOX: Unsupported keypad
135#endif 146#endif