diff options
Diffstat (limited to 'apps/plugins/test_touchscreen.c')
-rw-r--r-- | apps/plugins/test_touchscreen.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/test_touchscreen.c b/apps/plugins/test_touchscreen.c index 120ca8ac34..0d8e91f6a9 100644 --- a/apps/plugins/test_touchscreen.c +++ b/apps/plugins/test_touchscreen.c | |||
@@ -37,12 +37,17 @@ | |||
37 | #elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD | 37 | #elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD |
38 | #define TOUCHSCREEN_QUIT BUTTON_POWER | 38 | #define TOUCHSCREEN_QUIT BUTTON_POWER |
39 | #define TOUCHSCREEN_TOGGLE BUTTON_MENU | 39 | #define TOUCHSCREEN_TOGGLE BUTTON_MENU |
40 | #elif CONFIG_KEYPAD == SHANLING_Q1_PAD | ||
41 | #define TOUCHSCREEN_QUIT BUTTON_POWER | ||
42 | #define TOUCHSCREEN_TOGGLE BUTTON_PLAY | ||
40 | #elif (CONFIG_KEYPAD == ANDROID_PAD) | 43 | #elif (CONFIG_KEYPAD == ANDROID_PAD) |
41 | #define TOUCHSCREEN_QUIT BUTTON_BACK | 44 | #define TOUCHSCREEN_QUIT BUTTON_BACK |
42 | #define TOUCHSCREEN_TOGGLE BUTTON_MENU | 45 | #define TOUCHSCREEN_TOGGLE BUTTON_MENU |
43 | #elif (CONFIG_KEYPAD == SDL_PAD) | 46 | #elif (CONFIG_KEYPAD == SDL_PAD) |
44 | #define TOUCHSCREEN_QUIT BUTTON_MIDLEFT | 47 | #define TOUCHSCREEN_QUIT BUTTON_MIDLEFT |
45 | #define TOUCHSCREEN_TOGGLE BUTTON_CENTER | 48 | #define TOUCHSCREEN_TOGGLE BUTTON_CENTER |
49 | #else | ||
50 | # error "No keymap defined!" | ||
46 | #endif | 51 | #endif |
47 | 52 | ||
48 | /* plugin entry point */ | 53 | /* plugin entry point */ |