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
This commit is contained in:
parent
3dd7593ac5
commit
1753e98a70
2 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue