summaryrefslogtreecommitdiff
path: root/apps/plugins/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/matrix.c')
-rw-r--r--apps/plugins/matrix.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/matrix.c b/apps/plugins/matrix.c
index 19763b6005..c445867d62 100644
--- a/apps/plugins/matrix.c
+++ b/apps/plugins/matrix.c
@@ -95,6 +95,11 @@ extern const fb_data matrix_normal[];
#define MATRIX_SLEEP_MORE BUTTON_RC_VOL_UP
#define MATRIX_SLEEP_LESS BUTTON_RC_VOL_DOWN
#define MATRIX_PAUSE BUTTON_RC_PLAY
+#elif (CONFIG_KEYPAD == COWOND2_PAD)
+#define MATRIX_EXIT BUTTON_POWER
+#define MATRIX_SLEEP_MORE BUTTON_PLUS
+#define MATRIX_SLEEP_LESS BUTTON_MINUS
+#define MATRIX_PAUSE BUTTON_MENU
#else
#error Unsupported keypad
#endif