summaryrefslogtreecommitdiffstats
path: root/apps/plugins/rockpaint.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockpaint.c')
-rw-r--r--apps/plugins/rockpaint.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/rockpaint.c b/apps/plugins/rockpaint.c
index ce1b911e43..ab384e7644 100644
--- a/apps/plugins/rockpaint.c
+++ b/apps/plugins/rockpaint.c
@@ -288,6 +288,17 @@
#define ROCKPAINT_LEFT BUTTON_LEFT
#define ROCKPAINT_RIGHT BUTTON_RIGHT
+#elif CONFIG_KEYPAD == SONY_NWZ_PAD
+#define ROCKPAINT_QUIT (BUTTON_BACK|BUTTON_REPEAT)
+#define ROCKPAINT_DRAW BUTTON_PLAY
+#define ROCKPAINT_MENU BUTTON_BACK
+#define ROCKPAINT_UP BUTTON_UP
+#define ROCKPAINT_DOWN BUTTON_DOWN
+#define ROCKPAINT_LEFT BUTTON_LEFT
+#define ROCKPAINT_RIGHT BUTTON_RIGHT
+#define ROCKPAINT_TOOLBAR BUTTON_POWER
+#define ROCKPAINT_TOOLBAR2 (BUTTON_POWER|BUTTON_REPEAT)
+
#else
#error "Please define keys for this keypad"
#endif