summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/test_touchscreen.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/test_touchscreen.c b/apps/plugins/test_touchscreen.c
index 0c9cdc7..b0804f7 100644
--- a/apps/plugins/test_touchscreen.c
+++ b/apps/plugins/test_touchscreen.c
@@ -31,6 +31,12 @@
#elif (CONFIG_KEYPAD == ONDAVX747_PAD)
#define TOUCHSCREEN_QUIT BUTTON_POWER
#define TOUCHSCREEN_TOGGLE BUTTON_MENU
+#elif (CONFIG_KEYPAD == ANDROID_PAD)
+#define TOUCHSCREEN_QUIT BUTTON_BACK
+#define TOUCHSCREEN_TOGGLE BUTTON_MENU
+#elif (CONFIG_KEYPAD == SDL_PAD)
+#define TOUCHSCREEN_QUIT BUTTON_MIDLEFT
+#define TOUCHSCREEN_TOGGLE BUTTON_CENTER
#endif
/* plugin entry point */