diff options
author | Benjamin Brown <foolsh.person@gmail.com> | 2014-12-23 21:12:23 -0500 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2014-12-24 03:15:27 +0100 |
commit | 78cd5c1e24b9f001cde78143a17b40fd1bc3326a (patch) | |
tree | d02daf634271bcb1ff120ab77b6ae9df9c6decc1 /apps/plugins/xworld/keymaps.h | |
parent | 37817268abbb23598be2781fcf01b0895d9f3003 (diff) | |
download | rockbox-78cd5c1e24b9f001cde78143a17b40fd1bc3326a.tar.gz rockbox-78cd5c1e24b9f001cde78143a17b40fd1bc3326a.zip |
Fixes xworld keymaps for ondavx747, hifimanhm60x, and cowond2
Change-Id: I62d7702d2e6541777f5553e27e166470004cd06d
Reviewed-on: http://gerrit.rockbox.org/1080
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
Diffstat (limited to 'apps/plugins/xworld/keymaps.h')
-rw-r--r-- | apps/plugins/xworld/keymaps.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/apps/plugins/xworld/keymaps.h b/apps/plugins/xworld/keymaps.h index edba05b9d2..7f6646d5f9 100644 --- a/apps/plugins/xworld/keymaps.h +++ b/apps/plugins/xworld/keymaps.h | |||
@@ -44,7 +44,11 @@ | |||
44 | (CONFIG_KEYPAD == CREATIVEZVM_PAD) || \ | 44 | (CONFIG_KEYPAD == CREATIVEZVM_PAD) || \ |
45 | (CONFIG_KEYPAD == SAMSUNG_YPR0_PAD) || \ | 45 | (CONFIG_KEYPAD == SAMSUNG_YPR0_PAD) || \ |
46 | (CONFIG_KEYPAD == IRIVER_H300_PAD) || \ | 46 | (CONFIG_KEYPAD == IRIVER_H300_PAD) || \ |
47 | (CONFIG_KEYPAD == HM801_PAD) | 47 | (CONFIG_KEYPAD == HM801_PAD) || \ |
48 | (CONFIG_KEYPAD == COWON_D2_PAD) || \ | ||
49 | (CONFIG_KEYPAD == HM60X_PAD) || \ | ||
50 | (CONFIG_KEYPAD == ONDAVX747_PAD) | ||
51 | |||
48 | #define BTN_UP BUTTON_UP | 52 | #define BTN_UP BUTTON_UP |
49 | #define BTN_DOWN BUTTON_DOWN | 53 | #define BTN_DOWN BUTTON_DOWN |
50 | #define BTN_LEFT BUTTON_LEFT | 54 | #define BTN_LEFT BUTTON_LEFT |
@@ -159,6 +163,14 @@ | |||
159 | #elif (CONFIG_KEYPAD == ONDAVX777_PAD) | 163 | #elif (CONFIG_KEYPAD == ONDAVX777_PAD) |
160 | #define BTN_FIRE BUTTON_POWER | 164 | #define BTN_FIRE BUTTON_POWER |
161 | 165 | ||
166 | #elif (CONFIG_KEYPAD == COWON_D2_PAD) | ||
167 | #define BTN_FIRE BUTTON_PLUS | ||
168 | #define BTN_PAUSE BUTTON_MINUS | ||
169 | |||
170 | #elif (CONFIG_KEYPAD == HM60X_PAD) | ||
171 | #define BTN_FIRE BUTTON_POWER | ||
172 | #define BTN_PAUSE BUTTON_SELECT | ||
173 | |||
162 | #elif (CONFIG_KEYPAD == DX50_PAD) | 174 | #elif (CONFIG_KEYPAD == DX50_PAD) |
163 | #define BTN_FIRE BUTTON_PLUS | 175 | #define BTN_FIRE BUTTON_PLUS |
164 | #define BTN_PAUSE BUTTON_MENU | 176 | #define BTN_PAUSE BUTTON_MENU |