summaryrefslogtreecommitdiffstats
path: root/apps/plugins/clix.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/clix.c')
-rw-r--r--apps/plugins/clix.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/clix.c b/apps/plugins/clix.c
index 31951def28..47e27a8635 100644
--- a/apps/plugins/clix.c
+++ b/apps/plugins/clix.c
@@ -230,6 +230,16 @@
#define CLIX_BUTTON_RIGHT BUTTON_RIGHT
#define CLIX_BUTTON_CLICK BUTTON_SELECT
+#elif CONFIG_KEYPAD == SONY_NWZ_PAD
+#define CLIX_BUTTON_QUIT BUTTON_BACK
+#define CLIX_BUTTON_UP BUTTON_UP
+#define CLIX_BUTTON_DOWN BUTTON_DOWN
+#define CLIX_BUTTON_SCROLL_FWD (BUTTON_POWER|BUTTON_RIGHT)
+#define CLIX_BUTTON_SCROLL_BACK (BUTTON_POWER|BUTTON_LEFT)
+#define CLIX_BUTTON_LEFT BUTTON_LEFT
+#define CLIX_BUTTON_RIGHT BUTTON_RIGHT
+#define CLIX_BUTTON_CLICK BUTTON_PLAY
+
#elif (CONFIG_KEYPAD == SAMSUNG_YPR1_PAD)
#define CLIX_BUTTON_QUIT BUTTON_POWER