test_touchscreen.rock: Add keymap for sdl and android.

Change-Id: Ie56414c1a025bd786bf9e6edce1c09e6626f9f4a
This commit is contained in:
Thomas Martitz 2012-01-27 00:14:53 +01:00
parent aba5c47dd6
commit 049f3c782a

View file

@ -31,6 +31,12 @@
#elif (CONFIG_KEYPAD == ONDAVX747_PAD) #elif (CONFIG_KEYPAD == ONDAVX747_PAD)
#define TOUCHSCREEN_QUIT BUTTON_POWER #define TOUCHSCREEN_QUIT BUTTON_POWER
#define TOUCHSCREEN_TOGGLE BUTTON_MENU #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 #endif
/* plugin entry point */ /* plugin entry point */