summaryrefslogtreecommitdiff
path: root/apps/plugins/matrix.c
diff options
context:
space:
mode:
authorWill Robertson <aliask@rockbox.org>2008-02-17 12:23:02 +0000
committerWill Robertson <aliask@rockbox.org>2008-02-17 12:23:02 +0000
commit8215b34fdb7228283a055b1e4f04eb15cdf89d58 (patch)
tree6f3b3aa2098a514da27350d2d58f9c9c8ffe219b /apps/plugins/matrix.c
parentdf71f4c50930da1ea7121786d2ba3961d5426abf (diff)
Plugins now enabled and working for the Gigabeat S.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16323 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 b12c3cdff9..827b205e7d 100644
--- a/apps/plugins/matrix.c
+++ b/apps/plugins/matrix.c
@@ -85,6 +85,11 @@ extern const fb_data matrix_normal[];
#define MATRIX_SLEEP_MORE BUTTON_UP
#define MATRIX_SLEEP_LESS BUTTON_DOWN
#define MATRIX_PAUSE BUTTON_SELECT
+#elif (CONFIG_KEYPAD == GIGABEAT_S_PAD)
+#define MATRIX_EXIT BUTTON_BACK
+#define MATRIX_SLEEP_MORE BUTTON_UP
+#define MATRIX_SLEEP_LESS BUTTON_DOWN
+#define MATRIX_PAUSE BUTTON_SELECT
#else
#error Unsupported keypad
#endif