diff options
Diffstat (limited to 'apps/plugins/snake.c')
-rw-r--r-- | apps/plugins/snake.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/snake.c b/apps/plugins/snake.c index 3a672f9972..21761f1e3a 100644 --- a/apps/plugins/snake.c +++ b/apps/plugins/snake.c | |||
@@ -42,6 +42,12 @@ dir is the current direction of the snake - 0=up, 1=right, 2=down, 3=left; | |||
42 | #define SNAKE_QUIT BUTTON_OFF | 42 | #define SNAKE_QUIT BUTTON_OFF |
43 | #define SNAKE_PLAYPAUSE BUTTON_MENU | 43 | #define SNAKE_PLAYPAUSE BUTTON_MENU |
44 | 44 | ||
45 | #elif CONFIG_KEYPAD == IRIVER_H100_PAD | ||
46 | #define SNAKE_QUIT BUTTON_OFF | ||
47 | #define SNAKE_PLAYPAUSE BUTTON_ON | ||
48 | |||
49 | #else | ||
50 | #error "lacks keymapping" | ||
45 | #endif | 51 | #endif |
46 | 52 | ||
47 | static int board[28][16],snakelength; | 53 | static int board[28][16],snakelength; |