summaryrefslogtreecommitdiffstats
path: root/apps/plugins/invadrox.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/invadrox.c
parent6e575b6c7011827c042cba7b27537c1ceec9ef24 (diff)
downloadrockbox-c9816f57bf8782fd2ce6487aa0dc0f739145b631.tar.gz
rockbox-c9816f57bf8782fd2ce6487aa0dc0f739145b631.zip
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/invadrox.c')
-rw-r--r--apps/plugins/invadrox.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/invadrox.c b/apps/plugins/invadrox.c
index 158ad2f4d7..81b2df50d7 100644
--- a/apps/plugins/invadrox.c
+++ b/apps/plugins/invadrox.c
@@ -237,6 +237,13 @@ CONFIG_KEYPAD == MROBE500_PAD
#define RIGHT BUTTON_RIGHT
#define FIRE BUTTON_SELECT
+#elif CONFIG_KEYPAD == SONY_NWZ_PAD
+
+#define QUIT BUTTON_BACK
+#define LEFT BUTTON_LEFT
+#define RIGHT BUTTON_RIGHT
+#define FIRE BUTTON_PLAY
+
#elif (CONFIG_KEYPAD == HM60X_PAD) || \
(CONFIG_KEYPAD == HM801_PAD)