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/chip8.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/chip8.c')
-rw-r--r-- | apps/plugins/chip8.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c index 316852c14f..5fb55ae011 100644 --- a/apps/plugins/chip8.c +++ b/apps/plugins/chip8.c | |||
@@ -1275,6 +1275,14 @@ CONFIG_KEYPAD == MROBE500_PAD | |||
1275 | #define CHIP8_KEY8 BUTTON_BOTTOMMIDDLE | 1275 | #define CHIP8_KEY8 BUTTON_BOTTOMMIDDLE |
1276 | #define CHIP8_KEY9 BUTTON_BOTTOMRIGHT | 1276 | #define CHIP8_KEY9 BUTTON_BOTTOMRIGHT |
1277 | 1277 | ||
1278 | #elif (CONFIG_KEYPAD == AGPTEK_ROCKER_PAD) | ||
1279 | #define CHIP8_OFF BUTTON_POWER | ||
1280 | #define CHIP8_KEY2 BUTTON_UP | ||
1281 | #define CHIP8_KEY4 BUTTON_DOWN | ||
1282 | #define CHIP8_KEY5 BUTTON_SELECT | ||
1283 | #define CHIP8_KEY6 BUTTON_RIGHT | ||
1284 | #define CHIP8_KEY8 BUTTON_LEFT | ||
1285 | |||
1278 | #else | 1286 | #else |
1279 | #error No keymap defined! | 1287 | #error No keymap defined! |
1280 | #endif | 1288 | #endif |