test_touchscreen.rock: Add keymap for sdl and android.
Change-Id: Ie56414c1a025bd786bf9e6edce1c09e6626f9f4a
This commit is contained in:
parent
aba5c47dd6
commit
049f3c782a
1 changed files with 6 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue