summaryrefslogtreecommitdiff
path: root/apps/plugins/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/calendar.c')
-rw-r--r--apps/plugins/calendar.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c
index f0537e204f..5bcb6afc4b 100644
--- a/apps/plugins/calendar.c
+++ b/apps/plugins/calendar.c
@@ -90,8 +90,7 @@ PLUGIN_HEADER
90#define CALENDAR_NEXT_MONTH BUTTON_VOL_DOWN 90#define CALENDAR_NEXT_MONTH BUTTON_VOL_DOWN
91#define CALENDAR_PREV_MONTH BUTTON_VOL_UP 91#define CALENDAR_PREV_MONTH BUTTON_VOL_UP
92 92
93#elif CONFIG_KEYPAD == SANSA_E200_PAD || \ 93#elif CONFIG_KEYPAD == SANSA_E200_PAD
94 CONFIG_KEYPAD == SANSA_FUZE_PAD
95#define CALENDAR_QUIT BUTTON_POWER 94#define CALENDAR_QUIT BUTTON_POWER
96#define CALENDAR_SELECT BUTTON_SELECT 95#define CALENDAR_SELECT BUTTON_SELECT
97#define CALENDAR_NEXT_WEEK BUTTON_SCROLL_FWD 96#define CALENDAR_NEXT_WEEK BUTTON_SCROLL_FWD
@@ -101,6 +100,16 @@ PLUGIN_HEADER
101#define CALENDAR_NEXT_MONTH BUTTON_DOWN 100#define CALENDAR_NEXT_MONTH BUTTON_DOWN
102#define CALENDAR_PREV_MONTH BUTTON_UP 101#define CALENDAR_PREV_MONTH BUTTON_UP
103 102
103#elif CONFIG_KEYPAD == SANSA_FUZE_PAD
104#define CALENDAR_QUIT (BUTTON_HOME|BUTTON_REPEAT)
105#define CALENDAR_SELECT BUTTON_SELECT
106#define CALENDAR_NEXT_WEEK BUTTON_SCROLL_FWD
107#define CALENDAR_PREV_WEEK BUTTON_SCROLL_BACK
108#define CALENDAR_NEXT_DAY BUTTON_RIGHT
109#define CALENDAR_PREV_DAY BUTTON_LEFT
110#define CALENDAR_NEXT_MONTH BUTTON_DOWN
111#define CALENDAR_PREV_MONTH BUTTON_UP
112
104#elif CONFIG_KEYPAD == SANSA_C200_PAD || \ 113#elif CONFIG_KEYPAD == SANSA_C200_PAD || \
105CONFIG_KEYPAD == SANSA_CLIP_PAD || \ 114CONFIG_KEYPAD == SANSA_CLIP_PAD || \
106CONFIG_KEYPAD == SANSA_M200_PAD 115CONFIG_KEYPAD == SANSA_M200_PAD