diff options
Diffstat (limited to 'apps/plugins/snake2.c')
-rw-r--r-- | apps/plugins/snake2.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/snake2.c b/apps/plugins/snake2.c index 4008209578..dbb6bbc6dd 100644 --- a/apps/plugins/snake2.c +++ b/apps/plugins/snake2.c | |||
@@ -103,6 +103,16 @@ PLUGIN_HEADER | |||
103 | #define SNAKE2_SELECT_TYPE BUTTON_RIGHT | 103 | #define SNAKE2_SELECT_TYPE BUTTON_RIGHT |
104 | #define SNAKE2_PLAYPAUSE BUTTON_SELECT | 104 | #define SNAKE2_PLAYPAUSE BUTTON_SELECT |
105 | 105 | ||
106 | #elif (CONFIG_KEYPAD == IAUDIO_X5_PAD) | ||
107 | #define SNAKE2_UP BUTTON_UP | ||
108 | #define SNAKE2_DOWN BUTTON_DOWN | ||
109 | #define SNAKE2_QUIT BUTTON_POWER | ||
110 | #define SNAKE2_LEVEL_UP BUTTON_REC | ||
111 | #define SNAKE2_LEVEL_DOWN BUTTON_PLAY | ||
112 | #define SNAKE2_SELECT_MAZE BUTTON_LEFT | ||
113 | #define SNAKE2_SELECT_TYPE BUTTON_RIGHT | ||
114 | #define SNAKE2_PLAYPAUSE BUTTON_MENU | ||
115 | |||
106 | #else | 116 | #else |
107 | #error "lacks keymapping" | 117 | #error "lacks keymapping" |
108 | #endif | 118 | #endif |