summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/lamp.c6
-rw-r--r--apps/plugins/matrix.c6
-rw-r--r--apps/plugins/wormlet.c7
3 files changed, 18 insertions, 1 deletions
diff --git a/apps/plugins/lamp.c b/apps/plugins/lamp.c
index f95516e..7389811 100644
--- a/apps/plugins/lamp.c
+++ b/apps/plugins/lamp.c
@@ -140,6 +140,12 @@
# define LAMP_UP BUTTON_UP
# define LAMP_DOWN BUTTON_DOWN
+#elif CONFIG_KEYPAD == SANSA_CLIP_PAD
+# define LAMP_LEFT BUTTON_LEFT
+# define LAMP_RIGHT BUTTON_RIGHT
+# define LAMP_UP BUTTON_UP
+# define LAMP_DOWN BUTTON_DOWN
+
#else
# error Missing key definitions for this keypad
#endif
diff --git a/apps/plugins/matrix.c b/apps/plugins/matrix.c
index 04601f6..d1a672c 100644
--- a/apps/plugins/matrix.c
+++ b/apps/plugins/matrix.c
@@ -175,6 +175,12 @@ CONFIG_KEYPAD == MROBE500_PAD
#define MATRIX_SLEEP_LESS BUTTON_DOWN
#define MATRIX_PAUSE BUTTON_PLAYPAUSE
+#elif CONFIG_KEYPAD == SANSA_CLIP_PAD
+#define MATRIX_EXIT BUTTON_POWER
+#define MATRIX_SLEEP_MORE BUTTON_UP
+#define MATRIX_SLEEP_LESS BUTTON_DOWN
+#define MATRIX_PAUSE BUTTON_SELECT
+
#else
#error Unsupported keypad
#endif
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c
index d3fbbdc..bb35269 100644
--- a/apps/plugins/wormlet.c
+++ b/apps/plugins/wormlet.c
@@ -338,7 +338,12 @@ CONFIG_KEYPAD == MROBE500_PAD
#endif
#endif
-#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)
+#if (LCD_WIDTH == 96) && (LCD_HEIGHT == 96)
+#define FOOD_SIZE 3
+#define ARGH_SIZE 4
+#define SPEED 14
+#define MAX_WORM_SEGMENTS 128
+#elif (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)
#define FOOD_SIZE 3
#define ARGH_SIZE 4
#define SPEED 14