summaryrefslogtreecommitdiff
path: root/apps/plugins/calendar.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2008-10-26 12:47:43 +0000
committerNils Wallménius <nils@rockbox.org>2008-10-26 12:47:43 +0000
commit7bb81ce689fb4e5ac9f76b041708739e63fe6d77 (patch)
treebe46c93982faec79bb3abc6710de51e338aebeea /apps/plugins/calendar.c
parent535764c76b2807d60532e4ef423611da363a1e1e (diff)
Change button map for iaudio x5 and m5 to avoid using impossible button combos, delete ondio button map as it has no rtc
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18884 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/calendar.c')
-rw-r--r--apps/plugins/calendar.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c
index 577891e456..05f10ec5d0 100644
--- a/apps/plugins/calendar.c
+++ b/apps/plugins/calendar.c
@@ -47,16 +47,6 @@ PLUGIN_HEADER
#define CALENDAR_NEXT_MONTH (BUTTON_ON|BUTTON_DOWN)
#define CALENDAR_PREV_MONTH (BUTTON_ON|BUTTON_UP)
-#elif CONFIG_KEYPAD == ONDIO_PAD
-#define CALENDAR_QUIT BUTTON_OFF
-#define CALENDAR_SELECT (BUTTON_MENU|BUTTON_REL)
-#define CALENDAR_NEXT_WEEK BUTTON_DOWN
-#define CALENDAR_PREV_WEEK BUTTON_UP
-#define CALENDAR_NEXT_DAY BUTTON_RIGHT
-#define CALENDAR_PREV_DAY BUTTON_LEFT
-#define CALENDAR_NEXT_MONTH (BUTTON_MENU|BUTTON_DOWN)
-#define CALENDAR_PREV_MONTH (BUTTON_MENU|BUTTON_UP)
-
#elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
(CONFIG_KEYPAD == IRIVER_H300_PAD)
#define CALENDAR_QUIT BUTTON_OFF
@@ -87,8 +77,8 @@ PLUGIN_HEADER
#define CALENDAR_PREV_WEEK BUTTON_UP
#define CALENDAR_NEXT_DAY BUTTON_RIGHT
#define CALENDAR_PREV_DAY BUTTON_LEFT
-#define CALENDAR_NEXT_MONTH (BUTTON_PLAY|BUTTON_DOWN)
-#define CALENDAR_PREV_MONTH (BUTTON_PLAY|BUTTON_UP)
+#define CALENDAR_NEXT_MONTH BUTTON_PLAY
+#define CALENDAR_PREV_MONTH BUTTON_REC
#elif CONFIG_KEYPAD == GIGABEAT_PAD
#define CALENDAR_QUIT BUTTON_POWER