From b60f9af5267324ca458c1e0ef01853c62552c87f Mon Sep 17 00:00:00 2001 From: Tomasz Malesinski Date: Sun, 12 Feb 2006 23:24:27 +0000 Subject: [PATCH] Added iFP keybindings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8670 a1c6a512-1295-4272-9138-f99709370657 --- apps/eq_menu.c | 9 +++++++++ apps/settings.h | 6 ++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/apps/eq_menu.c b/apps/eq_menu.c index 6255988fa3..b80b2af7db 100644 --- a/apps/eq_menu.c +++ b/apps/eq_menu.c @@ -76,6 +76,15 @@ #define EQ_BTN_CHANGE_MODE BUTTON_REC #define EQ_BTN_EXIT BUTTON_MENU +#elif (CONFIG_KEYPAD == IRIVER_IFP7XX_PAD) + +#define EQ_BTN_DECREMENT BUTTON_LEFT +#define EQ_BTN_INCREMENT BUTTON_RIGHT +#define EQ_BTN_NEXT_BAND BUTTON_DOWN +#define EQ_BTN_PREV_BAND BUTTON_UP +#define EQ_BTN_CHANGE_MODE BUTTON_SELECT +#define EQ_BTN_EXIT BUTTON_PLAY + #endif diff --git a/apps/settings.h b/apps/settings.h index 20877b1f75..e2bd4c1af0 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -103,10 +103,12 @@ #define SETTINGS_ACCEPT BUTTON_PLAY #elif CONFIG_KEYPAD == IRIVER_IFP7XX_PAD -#define SETTINGS_INC BUTTON_RIGHT -#define SETTINGS_DEC BUTTON_LEFT +#define SETTINGS_INC BUTTON_UP +#define SETTINGS_DEC BUTTON_DOWN #define SETTINGS_OK BUTTON_SELECT #define SETTINGS_CANCEL BUTTON_PLAY +#define SETTINGS_PREV BUTTON_LEFT +#define SETTINGS_NEXT BUTTON_RIGHT #elif CONFIG_KEYPAD == IAUDIO_X5_PAD #define SETTINGS_INC BUTTON_UP