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>
This commit is contained in:
Benjamin Brown 2014-12-23 21:12:23 -05:00 committed by Michael Giacomelli
parent 37817268ab
commit 78cd5c1e24

View file

@ -44,7 +44,11 @@
(CONFIG_KEYPAD == CREATIVEZVM_PAD) || \
(CONFIG_KEYPAD == SAMSUNG_YPR0_PAD) || \
(CONFIG_KEYPAD == IRIVER_H300_PAD) || \
(CONFIG_KEYPAD == HM801_PAD)
(CONFIG_KEYPAD == HM801_PAD) || \
(CONFIG_KEYPAD == COWON_D2_PAD) || \
(CONFIG_KEYPAD == HM60X_PAD) || \
(CONFIG_KEYPAD == ONDAVX747_PAD)
#define BTN_UP BUTTON_UP
#define BTN_DOWN BUTTON_DOWN
#define BTN_LEFT BUTTON_LEFT
@ -159,6 +163,14 @@
#elif (CONFIG_KEYPAD == ONDAVX777_PAD)
#define BTN_FIRE BUTTON_POWER
#elif (CONFIG_KEYPAD == COWON_D2_PAD)
#define BTN_FIRE BUTTON_PLUS
#define BTN_PAUSE BUTTON_MINUS
#elif (CONFIG_KEYPAD == HM60X_PAD)
#define BTN_FIRE BUTTON_POWER
#define BTN_PAUSE BUTTON_SELECT
#elif (CONFIG_KEYPAD == DX50_PAD)
#define BTN_FIRE BUTTON_PLUS
#define BTN_PAUSE BUTTON_MENU