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/zxbox_keyb.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/zxbox/zxbox_keyb.c')
-rw-r--r-- | apps/plugins/zxbox/zxbox_keyb.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/zxbox/zxbox_keyb.c b/apps/plugins/zxbox/zxbox_keyb.c index 7fbad173ec..2931c8ea32 100644 --- a/apps/plugins/zxbox/zxbox_keyb.c +++ b/apps/plugins/zxbox/zxbox_keyb.c | |||
@@ -270,6 +270,14 @@ | |||
270 | #define KBD_UP BUTTON_UP | 270 | #define KBD_UP BUTTON_UP |
271 | #define KBD_DOWN BUTTON_DOWN | 271 | #define KBD_DOWN BUTTON_DOWN |
272 | 272 | ||
273 | #elif (CONFIG_KEYPAD == AGPTEK_ROCKER_PAD) | ||
274 | #define KBD_SELECT BUTTON_SELECT | ||
275 | #define KBD_ABORT BUTTON_POWER | ||
276 | #define KBD_LEFT BUTTON_LEFT | ||
277 | #define KBD_RIGHT BUTTON_RIGHT | ||
278 | #define KBD_UP BUTTON_UP | ||
279 | #define KBD_DOWN BUTTON_DOWN | ||
280 | |||
273 | #endif | 281 | #endif |
274 | 282 | ||
275 | #ifdef HAVE_TOUCHSCREEN | 283 | #ifdef HAVE_TOUCHSCREEN |