summaryrefslogtreecommitdiff
path: root/apps/plugins/starfield.c
diff options
context:
space:
mode:
authorRobert Kukla <roolku@rockbox.org>2008-03-01 22:55:09 +0000
committerRobert Kukla <roolku@rockbox.org>2008-03-01 22:55:09 +0000
commitd6c8b57b507658ef2e45f73d1f00e9ea88ac8d34 (patch)
tree2c3e35f7d1f705c08d963a21ede3b42f1bee5019 /apps/plugins/starfield.c
parent9876d91e351f457bac7f5ea3459dc12ef021078a (diff)
M:Robe 100: add button definition/bitmaps to plugins and enable compilation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16469 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/starfield.c')
-rw-r--r--apps/plugins/starfield.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/starfield.c b/apps/plugins/starfield.c
index 2c39b05b0d..de994ab13e 100644
--- a/apps/plugins/starfield.c
+++ b/apps/plugins/starfield.c
@@ -72,6 +72,13 @@ static struct plugin_api* rb; /* global api struct pointer */
#define STARFIELD_INCREASE_NB_STARS BUTTON_RIGHT
#define STARFIELD_DECREASE_NB_STARS BUTTON_LEFT
#define STARFIELD_TOGGLE_COLOR BUTTON_SELECT
+#elif (CONFIG_KEYPAD == MROBE100_PAD)
+#define STARFIELD_QUIT BUTTON_POWER
+#define STARFIELD_INCREASE_ZMOVE BUTTON_UP
+#define STARFIELD_DECREASE_ZMOVE BUTTON_DOWN
+#define STARFIELD_INCREASE_NB_STARS BUTTON_RIGHT
+#define STARFIELD_DECREASE_NB_STARS BUTTON_LEFT
+#define STARFIELD_TOGGLE_COLOR BUTTON_SELECT
#else
#define STARFIELD_QUIT BUTTON_OFF