summaryrefslogtreecommitdiffstats
path: root/apps/plugins/snake.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/snake.c')
-rw-r--r--apps/plugins/snake.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/snake.c b/apps/plugins/snake.c
index c4bbae0b96..120485a248 100644
--- a/apps/plugins/snake.c
+++ b/apps/plugins/snake.c
@@ -217,6 +217,14 @@ dir is the current direction of the snake - 0=up, 1=right, 2=down, 3=left;
#define SNAKE_DOWN BUTTON_FF
#define SNAKE_PLAYPAUSE BUTTON_PLAY
+#elif CONFIG_KEYPAD == MPIO_HD300_PAD
+#define SNAKE_QUIT (BUTTON_REC|BUTTON_REPEAT)
+#define SNAKE_LEFT BUTTON_REW
+#define SNAKE_RIGHT BUTTON_FF
+#define SNAKE_UP BUTTON_UP
+#define SNAKE_DOWN BUTTON_DOWN
+#define SNAKE_PLAYPAUSE BUTTON_PLAY
+
#else
#error No keymap defined!
#endif