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/goban/goban.h | |
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/goban/goban.h')
-rw-r--r-- | apps/plugins/goban/goban.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/goban/goban.h b/apps/plugins/goban/goban.h index 261fd8ebcc..135b9dbe95 100644 --- a/apps/plugins/goban/goban.h +++ b/apps/plugins/goban/goban.h | |||
@@ -443,6 +443,15 @@ | |||
443 | #elif (CONFIG_KEYPAD == DX50_PAD) | 443 | #elif (CONFIG_KEYPAD == DX50_PAD) |
444 | #define GBN_BUTTON_MENU (BUTTON_POWER|BUTTON_REL) | 444 | #define GBN_BUTTON_MENU (BUTTON_POWER|BUTTON_REL) |
445 | 445 | ||
446 | #elif (CONFIG_KEYPAD == AGPTEK_ROCKER_PAD) | ||
447 | #define GBN_BUTTON_UP BUTTON_UP | ||
448 | #define GBN_BUTTON_DOWN BUTTON_DOWN | ||
449 | #define GBN_BUTTON_LEFT BUTTON_LEFT | ||
450 | #define GBN_BUTTON_RIGHT BUTTON_RIGHT | ||
451 | #define GBN_BUTTON_MENU BUTTON_POWER | ||
452 | #define GBN_BUTTON_PLAY (BUTTON_SELECT | BUTTON_REL) | ||
453 | #define GBN_BUTTON_NAV_MODE BUTTON_VOLUP | ||
454 | |||
446 | #else | 455 | #else |
447 | #error Unsupported keypad | 456 | #error Unsupported keypad |
448 | #endif | 457 | #endif |