diff options
-rw-r--r-- | apps/plugins/brickmania.c | 8 | ||||
-rw-r--r-- | apps/plugins/chip8.c | 13 |
2 files changed, 21 insertions, 0 deletions
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c index 292eba25c0..d9abd5dca9 100644 --- a/apps/plugins/brickmania.c +++ b/apps/plugins/brickmania.c @@ -199,6 +199,14 @@ CONFIG_KEYPAD == SANSA_M200_PAD #define UP BUTTON_UP #define DOWN BUTTON_DOWN +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD +#define QUIT BUTTON_POWER +#define LEFT BUTTON_LEFT +#define RIGHT BUTTON_RIGHT +#define SELECT BUTTON_PLAY +#define UP BUTTON_UP +#define DOWN BUTTON_DOWN + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define QUIT BUTTON_POWER #define LEFT BUTTON_PREV diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c index b8f2ed469f..c68c987d48 100644 --- a/apps/plugins/chip8.c +++ b/apps/plugins/chip8.c @@ -1102,6 +1102,19 @@ CONFIG_KEYPAD == SANSA_M200_PAD #define CHIP8_KEY8 BUTTON_DOWN #define CHIP8_KEY9 BUTTON_VIEW +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD +#define CHIP8_OFF BUTTON_POWER +#define CHIP8_KEY1 BUTTON_PREV +#define CHIP8_KEY2 BUTTON_PLAY +#define CHIP8_KEY3 BUTTON_NEXT +#define CHIP8_KEY4 BUTTON_LEFT +#define CHIP8_KEY5 BUTTON_UP +#define CHIP8_KEY6 BUTTON_RIGHT +#define CHIP8_KEY7 BUTTON_MENU +#define CHIP8_KEY8 BUTTON_DOWN +#define CHIP8_KEY9 BUTTON_VIEW +#define CHIP8_KEY0 BUTTON_VOL_DOWN + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define CHIP8_OFF BUTTON_POWER #define CHIP8_KEY1 BUTTON_LEFT |