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/rockboy/rockboy.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/rockboy/rockboy.c')
-rw-r--r-- | apps/plugins/rockboy/rockboy.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/rockboy/rockboy.c b/apps/plugins/rockboy/rockboy.c index bbcfde8442..38536d1375 100644 --- a/apps/plugins/rockboy/rockboy.c +++ b/apps/plugins/rockboy/rockboy.c | |||
@@ -411,6 +411,18 @@ static void setoptions (void) | |||
411 | #elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD | 411 | #elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD |
412 | options.MENU = BUTTON_POWER; | 412 | options.MENU = BUTTON_POWER; |
413 | 413 | ||
414 | #elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD | ||
415 | options.UP = BUTTON_UP; | ||
416 | options.DOWN = BUTTON_DOWN; | ||
417 | options.LEFT = BUTTON_LEFT; | ||
418 | options.RIGHT = BUTTON_RIGHT; | ||
419 | |||
420 | options.START = BUTTON_SELECT; | ||
421 | options.MENU = BUTTON_POWER; | ||
422 | options.SELECT = BUTTON_SELECT|BUTTON_REPEAT; | ||
423 | options.A = BUTTON_VOLDOWN; | ||
424 | options.B = BUTTON_VOLUP; | ||
425 | |||
414 | #else | 426 | #else |
415 | #error No Keymap Defined! | 427 | #error No Keymap Defined! |
416 | #endif | 428 | #endif |