summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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