summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox
diff options
context:
space:
mode:
authorMark Arigo <markarigo@gmail.com>2009-01-24 22:41:55 +0000
committerMark Arigo <markarigo@gmail.com>2009-01-24 22:41:55 +0000
commit2490262eee17c3dcff0a39fb4011662dfdfc4478 (patch)
tree2c68f5903b36e52718f5be53d8504af3e0e03c0c /apps/plugins/chessbox
parent74b97fa139339b62813d94610f8d7710357beb08 (diff)
Plugins for the Philips HDD1630. The keymaps are largely untested on the device (patches welcome).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19846 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/chessbox')
-rw-r--r--apps/plugins/chessbox/chessbox_pgn.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/plugins/chessbox/chessbox_pgn.h b/apps/plugins/chessbox/chessbox_pgn.h
index 24830a5f48..85b21a551b 100644
--- a/apps/plugins/chessbox/chessbox_pgn.h
+++ b/apps/plugins/chessbox/chessbox_pgn.h
@@ -326,6 +326,21 @@
#define CB_LEVEL BUTTON_CUSTOM
#define CB_MENU BUTTON_MENU
+#elif CONFIG_KEYPAD == PHILIPS_HDD1630_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_VIEW
+#define CB_LEVEL BUTTON_PLAYLIST
+#define CB_MENU BUTTON_MENU
+
+#define CB_SCROLL_UP (BUTTON_UP|BUTTON_REPEAT)
+#define CB_SCROLL_DOWN (BUTTON_DOWN|BUTTON_REPEAT)
+#define CB_SCROLL_LEFT (BUTTON_LEFT|BUTTON_REPEAT)
+#define CB_SCROLL_RIGHT (BUTTON_RIGHT|BUTTON_REPEAT)
+
#else
#error No keymap defined!
#endif