summaryrefslogtreecommitdiff
path: root/apps/plugins/oscilloscope.c
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-11-30 10:52:14 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-11-30 10:52:14 +0000
commitdd61702fb0a45167aeba3f3f183b794e47c30f6f (patch)
treebe2389872bfc1ca4106b4c717409fe17d582a6fe /apps/plugins/oscilloscope.c
parentd2ebc534eaba1bcda0ba50250c8c3f6cadfd4ed9 (diff)
HD300 - plugins keymaps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28712 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/oscilloscope.c')
-rw-r--r--apps/plugins/oscilloscope.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/oscilloscope.c b/apps/plugins/oscilloscope.c
index 2d0d58eca5..f80b9c014a 100644
--- a/apps/plugins/oscilloscope.c
+++ b/apps/plugins/oscilloscope.c
@@ -309,6 +309,17 @@
#define OSCILLOSCOPE_VOL_UP BUTTON_VOL_UP
#define OSCILLOSCOPE_VOL_DOWN BUTTON_VOL_DOWN
+#elif CONFIG_KEYPAD == MPIO_HD300_PAD
+#define OSCILLOSCOPE_QUIT (BUTTON_REC | BUTTON_REPEAT)
+#define OSCILLOSCOPE_DRAWMODE BUTTON_ENTER
+#define OSCILLOSCOPE_ADVMODE BUTTON_REC
+#define OSCILLOSCOPE_ORIENTATION BUTTON_MENU
+#define OSCILLOSCOPE_PAUSE BUTTON_PLAY
+#define OSCILLOSCOPE_SPEED_UP BUTTON_FF
+#define OSCILLOSCOPE_SPEED_DOWN BUTTON_REW
+#define OSCILLOSCOPE_VOL_UP BUTTON_UP
+#define OSCILLOSCOPE_VOL_DOWN BUTTON_DOWN
+
#else
#error No keymap defined!
#endif