summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Malesinski <tomal@rockbox.org>2006-02-12 23:24:27 +0000
committerTomasz Malesinski <tomal@rockbox.org>2006-02-12 23:24:27 +0000
commitb60f9af5267324ca458c1e0ef01853c62552c87f (patch)
treed15277c1a0fcd011c845688059d9108d52818c7b
parentd1e55082ee116180bc5fa279adb10a41349a8173 (diff)
downloadrockbox-b60f9af5267324ca458c1e0ef01853c62552c87f.tar.gz
rockbox-b60f9af5267324ca458c1e0ef01853c62552c87f.tar.bz2
rockbox-b60f9af5267324ca458c1e0ef01853c62552c87f.zip
Added iFP keybindings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8670 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/eq_menu.c9
-rw-r--r--apps/settings.h6
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