summaryrefslogtreecommitdiffstats
path: root/apps/plugins/rockboy/rockboy.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy/rockboy.c')
-rw-r--r--apps/plugins/rockboy/rockboy.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/rockboy/rockboy.c b/apps/plugins/rockboy/rockboy.c
index ba70d77627..ec6a7d85f8 100644
--- a/apps/plugins/rockboy/rockboy.c
+++ b/apps/plugins/rockboy/rockboy.c
@@ -378,6 +378,19 @@ static void setoptions (void)
options.SELECT = BUTTON_SELECT;
options.MENU = BUTTON_POWER;
+#elif CONFIG_KEYPAD == SONY_NWZ_PAD
+ options.UP = BUTTON_UP;
+ options.DOWN = BUTTON_DOWN;
+ options.LEFT = BUTTON_LEFT;
+ options.RIGHT = BUTTON_RIGHT;
+
+ options.START = BUTTON_PLAY;
+ options.MENU = BUTTON_BACK;
+ options.SELECT = (BUTTON_POWER|BUTTON_PLAY);
+ options.A = (BUTTON_POWER|BUTTON_LEFT);
+ options.B = (BUTTON_POWER|BUTTON_RIGHT);
+
+
#else
#error No Keymap Defined!
#endif