summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-06-18 21:38:05 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-06-18 21:38:05 +0000
commit1753e98a700e30aa30d83b458f3bb1b4dacad243 (patch)
tree7993d09eaf1f1bc6a11c1a78d620e789a201ce2f
parent3dd7593ac5278549076b63d1d022cb3e7a528e51 (diff)
behave the same way with the h300 keypad as with the h100 (for now at least)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6755 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/bookmark.c3
-rw-r--r--apps/settings.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c
index 545e2cf1eb..d2911af39d 100644
--- a/apps/bookmark.c
+++ b/apps/bookmark.c
@@ -604,7 +604,8 @@ static int get_bookmark_count(const char* bookmark_file_name)
#define BOOKMARK_SELECT (BUTTON_RIGHT | BUTTON_REL)
#define BOOKMARK_DELETE (BUTTON_RIGHT | BUTTON_REPEAT)
-#elif CONFIG_KEYPAD == IRIVER_H100_PAD
+#elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
+ (CONFIG_KEYPAD == IRIVER_H300_PAD)
#define BOOKMARK_SELECT BUTTON_SELECT
#define BOOKMARK_DELETE (BUTTON_ON | BUTTON_SELECT)
diff --git a/apps/settings.h b/apps/settings.h
index 3e138cfc7e..2d4017c9e3 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -34,7 +34,8 @@
#define MAX_FILENAME 20
/* button definitions */
-#if CONFIG_KEYPAD == IRIVER_H100_PAD
+#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
+ (CONFIG_KEYPAD == IRIVER_H300_PAD)
#define SETTINGS_INC BUTTON_UP
#define SETTINGS_DEC BUTTON_DOWN
#define SETTINGS_OK BUTTON_SELECT