Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:2024:games
freedink
freedink-android-sdl-hint.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File freedink-android-sdl-hint.patch of Package freedink
Index: freedink-109.4/src/input.cpp =================================================================== --- freedink-109.4.orig/src/input.cpp +++ freedink-109.4/src/input.cpp @@ -91,7 +91,10 @@ void input_init(void) // TODO: don't attempt to simulate mouse events from touch events - // fake mouse events often are de-centered - SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0"); + // SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0"); + // FIXME: Since SDL 2.0.10 should be used different hits: + SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "1"); + SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "1"); /* Touch devices */ {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor