From 1753e98a700e30aa30d83b458f3bb1b4dacad243 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 18 Jun 2005 21:38:05 +0000 Subject: [PATCH] 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 --- apps/bookmark.c | 3 ++- apps/settings.h | 3 ++- 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