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/lib/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/lib/keymaps.h')
-rw-r--r-- | apps/plugins/lib/keymaps.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugins/lib/keymaps.h b/apps/plugins/lib/keymaps.h index c079a9080b..64deccf513 100644 --- a/apps/plugins/lib/keymaps.h +++ b/apps/plugins/lib/keymaps.h | |||
@@ -60,7 +60,8 @@ | |||
60 | (CONFIG_KEYPAD == SAMSUNG_YPR0_PAD) || \ | 60 | (CONFIG_KEYPAD == SAMSUNG_YPR0_PAD) || \ |
61 | (CONFIG_KEYPAD == IRIVER_H300_PAD) || \ | 61 | (CONFIG_KEYPAD == IRIVER_H300_PAD) || \ |
62 | (CONFIG_KEYPAD == HM801_PAD) || \ | 62 | (CONFIG_KEYPAD == HM801_PAD) || \ |
63 | (CONFIG_KEYPAD == HM60X_PAD) | 63 | (CONFIG_KEYPAD == HM60X_PAD) || \ |
64 | (CONFIG_KEYPAD == AGPTEK_ROCKER_PAD) | ||
64 | #define BTN_UP BUTTON_UP | 65 | #define BTN_UP BUTTON_UP |
65 | #define BTN_DOWN BUTTON_DOWN | 66 | #define BTN_DOWN BUTTON_DOWN |
66 | #define BTN_LEFT BUTTON_LEFT | 67 | #define BTN_LEFT BUTTON_LEFT |
@@ -83,6 +84,10 @@ | |||
83 | #define BTN_UP_RIGHT BUTTON_TOPRIGHT | 84 | #define BTN_UP_RIGHT BUTTON_TOPRIGHT |
84 | #endif | 85 | #endif |
85 | 86 | ||
87 | #if (CONFIG_KEYPAD == AGPTEK_ROCKER_PAD) | ||
88 | #define BTN_FIRE BUTTON_SELECT | ||
89 | #define BTN_PAUSE BUTTON_POWER | ||
90 | #endif | ||
86 | 91 | ||
87 | #if (CONFIG_KEYPAD == HM60X_PAD) | 92 | #if (CONFIG_KEYPAD == HM60X_PAD) |
88 | #define BTN_FIRE BUTTON_POWER | 93 | #define BTN_FIRE BUTTON_POWER |