diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2018-03-02 21:53:55 +0100 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2018-06-12 10:31:15 +0200 |
commit | fbb6a2ff6d751adaaef73a86a98700f91571d0a1 (patch) | |
tree | e4bf533e945a03887620361ad110b3612321d67d /apps/plugins/calendar.c | |
parent | 0538ba3d59a1a29adcee0b4656b204fda102ad89 (diff) | |
download | rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.tar.gz rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.zip |
Agptek Rocker: Build plugins
Patch provided by Aapo Tahkola.
Change-Id: I37a42a950d78d6b8aa3927ec7aeb30030f7be7a5
Diffstat (limited to 'apps/plugins/calendar.c')
-rw-r--r-- | apps/plugins/calendar.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c index 65c29742e8..23446beb40 100644 --- a/apps/plugins/calendar.c +++ b/apps/plugins/calendar.c | |||
@@ -403,6 +403,16 @@ | |||
403 | #define CALENDAR_SELECT BUTTON_MENU | 403 | #define CALENDAR_SELECT BUTTON_MENU |
404 | #define CALENDAR_EVENT_MENU_NAME "menu" | 404 | #define CALENDAR_EVENT_MENU_NAME "menu" |
405 | 405 | ||
406 | #elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD | ||
407 | #define CALENDAR_QUIT BUTTON_POWER | ||
408 | #define CALENDAR_SELECT BUTTON_SELECT | ||
409 | #define CALENDAR_NEXT_DAY BUTTON_RIGHT | ||
410 | #define CALENDAR_PREV_DAY BUTTON_LEFT | ||
411 | #define CALENDAR_NEXT_WEEK BUTTON_DOWN | ||
412 | #define CALENDAR_PREV_WEEK BUTTON_UP | ||
413 | #define CALENDAR_NEXT_MONTH (BUTTON_VOLDOWN) | ||
414 | #define CALENDAR_PREV_MONTH (BUTTON_VOLUP) | ||
415 | |||
406 | #else | 416 | #else |
407 | #error "No keypad setting." | 417 | #error "No keypad setting." |
408 | #endif | 418 | #endif |