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/pacbox/pacbox.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/plugins/pacbox/pacbox.h') diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h index 1270e9c064..ebce692118 100644 --- a/apps/plugins/pacbox/pacbox.h +++ b/apps/plugins/pacbox/pacbox.h @@ -310,6 +310,15 @@ #define PACMAN_COIN BUTTON_PREV #define PACMAN_MENU BUTTON_POWER +#elif CONFIG_KEYPAD == SONY_NWZ_PAD +#define PACMAN_UP BUTTON_UP +#define PACMAN_DOWN BUTTON_DOWN +#define PACMAN_LEFT BUTTON_LEFT +#define PACMAN_RIGHT BUTTON_RIGHT +#define PACMAN_MENU BUTTON_BACK +#define PACMAN_1UP BUTTON_POWER +#define PACMAN_COIN BUTTON_PLAY + #else #error Keymap not defined! -- cgit v1.2.3