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/chessclock.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/chessclock.c')
-rw-r--r-- | apps/plugins/chessclock.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/chessclock.c b/apps/plugins/chessclock.c index 7473c47024..bc907feec3 100644 --- a/apps/plugins/chessclock.c +++ b/apps/plugins/chessclock.c | |||
@@ -402,6 +402,16 @@ | |||
402 | #define CHC_QUIT BUTTON_POWER | 402 | #define CHC_QUIT BUTTON_POWER |
403 | #define CHC_STARTSTOP BUTTON_MENU | 403 | #define CHC_STARTSTOP BUTTON_MENU |
404 | 404 | ||
405 | #elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD | ||
406 | #define CHC_QUIT (BUTTON_POWER|BUTTON_REPEAT) | ||
407 | #define CHC_RESET (BUTTON_LEFT) | ||
408 | #define CHC_MENU BUTTON_RIGHT | ||
409 | #define CHC_STARTSTOP BUTTON_SELECT | ||
410 | #define CHC_SETTINGS_INC BUTTON_VOLUP | ||
411 | #define CHC_SETTINGS_DEC BUTTON_VOLDOWN | ||
412 | #define CHC_SETTINGS_CANCEL BUTTON_RIGHT | ||
413 | #define CHC_SETTINGS_OK (BUTTON_SELECT|BUTTON_REPEAT) | ||
414 | |||
405 | #else | 415 | #else |
406 | #error No keymap defined! | 416 | #error No keymap defined! |
407 | #endif | 417 | #endif |