summaryrefslogtreecommitdiff
path: root/apps/plugins/brickmania.c
diff options
context:
space:
mode:
authorNils Stec <nils.stec@gmail.com>2014-06-30 20:24:15 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2014-06-30 21:20:15 +0200
commitc9816f57bf8782fd2ce6487aa0dc0f739145b631 (patch)
treeaf0f7314182fb8ee278ced53b7f79615312f32d2 /apps/plugins/brickmania.c
parent6e575b6c7011827c042cba7b27537c1ceec9ef24 (diff)
Introduce plugin keymaps for the Sony NWZ Series
Change-Id: I46b8766bd44118bce4931b7ee71815ae5f51cb2e Reviewed-on: http://gerrit.rockbox.org/879 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
Diffstat (limited to 'apps/plugins/brickmania.c')
-rw-r--r--apps/plugins/brickmania.c8
1 files changed, 8 insertions, 0 deletions
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