summaryrefslogtreecommitdiff
path: root/apps/plugins/matrix.c
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2008-03-22 22:03:34 +0000
committerRob Purchase <shotofadds@rockbox.org>2008-03-22 22:03:34 +0000
commit554d7ed9025bf629f9202c4e5c106f62853207a3 (patch)
treebbdfea0c02e0d1d241bb9e8bebd75c69176f8e16 /apps/plugins/matrix.c
parentecde125fa7888a8d0c1fbfac1584caf5f58aa9a7 (diff)
downloadrockbox-554d7ed9025bf629f9202c4e5c106f62853207a3.tar.gz
rockbox-554d7ed9025bf629f9202c4e5c106f62853207a3.zip
D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas Mueller, with some tweaks).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16751 a1c6a512-1295-4272-9138-f99709370657
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[];
95#define MATRIX_SLEEP_MORE BUTTON_RC_VOL_UP 95#define MATRIX_SLEEP_MORE BUTTON_RC_VOL_UP
96#define MATRIX_SLEEP_LESS BUTTON_RC_VOL_DOWN 96#define MATRIX_SLEEP_LESS BUTTON_RC_VOL_DOWN
97#define MATRIX_PAUSE BUTTON_RC_PLAY 97#define MATRIX_PAUSE BUTTON_RC_PLAY
98#elif (CONFIG_KEYPAD == COWOND2_PAD)
99#define MATRIX_EXIT BUTTON_POWER
100#define MATRIX_SLEEP_MORE BUTTON_PLUS
101#define MATRIX_SLEEP_LESS BUTTON_MINUS
102#define MATRIX_PAUSE BUTTON_MENU
98#else 103#else
99#error Unsupported keypad 104#error Unsupported keypad
100#endif 105#endif