summaryrefslogtreecommitdiffstats
path: root/apps/plugins/test_grey.c
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-04-26 21:40:00 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-04-26 21:40:00 +0000
commitb09d3aec392538ca0934644ff6357c41aaa4c323 (patch)
tree0603cf4ef59e84ee4e0c172e3b418d8dccac664c /apps/plugins/test_grey.c
parentfa5cd0d3bf744f75be0593a7e2c2083810f16c21 (diff)
downloadrockbox-b09d3aec392538ca0934644ff6357c41aaa4c323.tar.gz
rockbox-b09d3aec392538ca0934644ff6357c41aaa4c323.tar.bz2
rockbox-b09d3aec392538ca0934644ff6357c41aaa4c323.zip
Add MPIO HD200 port - changed files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/test_grey.c')
-rw-r--r--apps/plugins/test_grey.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/test_grey.c b/apps/plugins/test_grey.c
index a1189dda77..c2adaf06b5 100644
--- a/apps/plugins/test_grey.c
+++ b/apps/plugins/test_grey.c
@@ -83,6 +83,14 @@ PLUGIN_HEADER
#define GREY_UP BUTTON_UP
#define GREY_DOWN BUTTON_DOWN
+#elif CONFIG_KEYPAD == MPIO_HD200_PAD
+#define GREY_QUIT (BUTTON_REC|BUTTON_PLAY)
+#define GREY_OK BUTTON_SELECT
+#define GREY_PREV BUTTON_PREV
+#define GREY_NEXT BUTTON_NEXT
+#define GREY_UP BUTTON_VOL_UP
+#define GREY_DOWN BUTTON_VOL_DOWN
+
#else
#error unsupported keypad
#endif