mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Add: allow touch screen events on fullscreen
This commit is contained in:
parent
66e13f774d
commit
57bf9e3048
@ -684,7 +684,6 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
case SDL_FINGERMOTION:
|
||||
{
|
||||
if (!g_Config.bFullScreen) { break; }
|
||||
SDL_GetWindowSize(window, &w, &h);
|
||||
touchEvent.type = SDL_MOUSEMOTION;
|
||||
touchEvent.motion.type = SDL_MOUSEMOTION;
|
||||
@ -702,7 +701,6 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
case SDL_FINGERDOWN:
|
||||
{
|
||||
if (!g_Config.bFullScreen) { break; }
|
||||
SDL_GetWindowSize(window, &w, &h);
|
||||
touchEvent.type = SDL_MOUSEBUTTONDOWN;
|
||||
touchEvent.button.type = SDL_MOUSEBUTTONDOWN;
|
||||
@ -732,7 +730,6 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
case SDL_FINGERUP:
|
||||
{
|
||||
if(!g_Config.bFullScreen) { break; }
|
||||
SDL_GetWindowSize(window, &w, &h);
|
||||
touchEvent.type = SDL_MOUSEBUTTONUP;
|
||||
touchEvent.button.type = SDL_MOUSEBUTTONUP;
|
||||
|
Loading…
Reference in New Issue
Block a user