From c9816f57bf8782fd2ce6487aa0dc0f739145b631 Mon Sep 17 00:00:00 2001 From: Nils Stec Date: Mon, 30 Jun 2014 20:24:15 +0200 Subject: Introduce plugin keymaps for the Sony NWZ Series Change-Id: I46b8766bd44118bce4931b7ee71815ae5f51cb2e Reviewed-on: http://gerrit.rockbox.org/879 Reviewed-by: Amaury Pouly --- apps/plugins/brickmania.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/plugins/brickmania.c') diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c index 1574fe7119..6cff61e004 100644 --- a/apps/plugins/brickmania.c +++ b/apps/plugins/brickmania.c @@ -295,6 +295,14 @@ CONFIG_KEYPAD == SANSA_CONNECT_PAD #define UP BUTTON_UP #define DOWN BUTTON_DOWN +#elif CONFIG_KEYPAD == SONY_NWZ_PAD +#define QUIT BUTTON_BACK +#define LEFT BUTTON_LEFT +#define RIGHT BUTTON_RIGHT +#define SELECT BUTTON_PLAY +#define UP BUTTON_UP +#define DOWN BUTTON_DOWN + #else #error No keymap defined! #endif -- cgit v1.2.3