summaryrefslogtreecommitdiffstats
path: root/apps/plugins/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/calendar.c')
-rw-r--r--apps/plugins/calendar.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c
index 8e43823bb6..d586b4b48c 100644
--- a/apps/plugins/calendar.c
+++ b/apps/plugins/calendar.c
@@ -349,6 +349,16 @@
#define CALENDAR_NEXT_MONTH BUTTON_NEXT
#define CALENDAR_PREV_MONTH BUTTON_PREV
+#elif CONFIG_KEYPAD == SONY_NWZ_PAD
+#define CALENDAR_QUIT BUTTON_BACK
+#define CALENDAR_SELECT BUTTON_PLAY
+#define CALENDAR_NEXT_DAY BUTTON_RIGHT
+#define CALENDAR_PREV_DAY BUTTON_LEFT
+#define CALENDAR_NEXT_WEEK BUTTON_DOWN
+#define CALENDAR_PREV_WEEK BUTTON_UP
+#define CALENDAR_NEXT_MONTH (BUTTON_POWER|BUTTON_DOWN)
+#define CALENDAR_PREV_MONTH (BUTTON_POWER|BUTTON_UP)
+
#else
#error "No keypad setting."
#endif