From 049f3c782a74258640e4f5c165496c282b4203dd Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 27 Jan 2012 00:14:53 +0100 Subject: [PATCH] test_touchscreen.rock: Add keymap for sdl and android. Change-Id: Ie56414c1a025bd786bf9e6edce1c09e6626f9f4a --- apps/plugins/test_touchscreen.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/plugins/test_touchscreen.c b/apps/plugins/test_touchscreen.c index 0c9cdc7302..b0804f7d06 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 */