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/clix.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/clix.c')
-rw-r--r-- | apps/plugins/clix.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/clix.c b/apps/plugins/clix.c index 5ad556d2ce..b47fe69952 100644 --- a/apps/plugins/clix.c +++ b/apps/plugins/clix.c | |||
@@ -266,6 +266,16 @@ | |||
266 | #define CLIX_BUTTON_RIGHT BUTTON_MIDRIGHT | 266 | #define CLIX_BUTTON_RIGHT BUTTON_MIDRIGHT |
267 | #define CLIX_BUTTON_CLICK BUTTON_CENTER | 267 | #define CLIX_BUTTON_CLICK BUTTON_CENTER |
268 | 268 | ||
269 | #elif (CONFIG_KEYPAD == AGPTEK_ROCKER_PAD) | ||
270 | #define CLIX_BUTTON_QUIT BUTTON_POWER | ||
271 | #define CLIX_BUTTON_UP BUTTON_UP | ||
272 | #define CLIX_BUTTON_DOWN BUTTON_DOWN | ||
273 | #define CLIX_BUTTON_SCROLL_FWD (BUTTON_VOLUP) | ||
274 | #define CLIX_BUTTON_SCROLL_BACK (BUTTON_VOLDOWN) | ||
275 | #define CLIX_BUTTON_LEFT BUTTON_LEFT | ||
276 | #define CLIX_BUTTON_RIGHT BUTTON_RIGHT | ||
277 | #define CLIX_BUTTON_CLICK BUTTON_SELECT | ||
278 | |||
269 | #else | 279 | #else |
270 | #error "no keymap" | 280 | #error "no keymap" |
271 | #endif | 281 | #endif |