Android: default SDL_HINT_MOUSE_TOUCH_EVENTS to 1 as previous behaviour

This commit is contained in:
Sylvain Becker 2019-04-05 08:36:31 +02:00
parent 6f732d4ee8
commit b470cd9b09
3 changed files with 15 additions and 5 deletions

View file

@ -323,6 +323,7 @@ extern "C" {
* "1" - Mouse events will generate touch events
*
* By default SDL will *not* generate touch events for mouse events
* Except for Android, they are generated by default.
*/
#define SDL_HINT_MOUSE_TOUCH_EVENTS "SDL_MOUSE_TOUCH_EVENTS"