summaryrefslogtreecommitdiffstats
path: root/apps/recorder
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-11-19 10:54:59 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-11-19 10:54:59 +0000
commite68ccbd1d8a080969e024cb24f96209adf3c664e (patch)
tree7b5eee87514a1988724969028a9645daffdd6db6 /apps/recorder
parente17938c949dfe9b1fd11a611b4b523d6dedeecb3 (diff)
downloadrockbox-e68ccbd1d8a080969e024cb24f96209adf3c664e.tar.gz
rockbox-e68ccbd1d8a080969e024cb24f96209adf3c664e.zip
Added iRiver button codes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5437 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/keyboard.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c
index e415166e3e..7b954da271 100644
--- a/apps/recorder/keyboard.c
+++ b/apps/recorder/keyboard.c
@@ -34,7 +34,15 @@
#define KEYBOARD_PAGES 3
-#if CONFIG_KEYPAD == RECORDER_PAD
+#if CONFIG_KEYPAD == IRIVER_H100_PAD
+#define KBD_CURSOR_RIGHT (BUTTON_ON | BUTTON_RIGHT)
+#define KBD_CURSOR_LEFT (BUTTON_ON | BUTTON_LEFT)
+#define KBD_SELECT BUTTON_SELECT
+#define KBD_PAGE_FLIP BUTTON_MODE
+#define KBD_DONE BUTTON_ON
+#define KBD_ABORT BUTTON_OFF
+#define KBD_BACKSPACE BUTTON_REC
+#elif CONFIG_KEYPAD == RECORDER_PAD
#define KBD_CURSOR_RIGHT (BUTTON_ON | BUTTON_RIGHT)
#define KBD_CURSOR_LEFT (BUTTON_ON | BUTTON_LEFT)
#define KBD_SELECT BUTTON_PLAY