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/zxbox/keymaps.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/zxbox/keymaps.h')
-rw-r--r-- | apps/plugins/zxbox/keymaps.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/zxbox/keymaps.h b/apps/plugins/zxbox/keymaps.h index 47ee8ed1e1..d10eeb67e7 100644 --- a/apps/plugins/zxbox/keymaps.h +++ b/apps/plugins/zxbox/keymaps.h | |||
@@ -274,6 +274,14 @@ | |||
274 | #elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD | 274 | #elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD |
275 | #define ZX_MENU BUTTON_MENU | 275 | #define ZX_MENU BUTTON_MENU |
276 | 276 | ||
277 | #elif (CONFIG_KEYPAD == AGPTEK_ROCKER_PAD) | ||
278 | #define ZX_MENU BUTTON_POWER | ||
279 | #define ZX_UP BUTTON_UP | ||
280 | #define ZX_DOWN BUTTON_DOWN | ||
281 | #define ZX_LEFT BUTTON_LEFT | ||
282 | #define ZX_RIGHT BUTTON_RIGHT | ||
283 | #define ZX_SELECT BUTTON_SELECT | ||
284 | |||
277 | #else | 285 | #else |
278 | #error Keymap not defined! | 286 | #error Keymap not defined! |
279 | 287 | ||