-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chore] SDL2: less hackish SDL event approach (#630)
It wouldn't make much sense to continue adding endless workarounds along the lines of the getDroppedFile() function. For SDL multitouch events we could emit a number of fake Linux kernel multitouch events but it seems more sensible to construct gesture events out of SDL event information directly in front. Emits a made up EV_SDL code to tap into the existing event system. Also added SDL_MULTIGESTURE and SDL_WHEEL passthrough.
- Loading branch information
Showing
2 changed files
with
12 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters