mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 19:38:14 +00:00
Set SDL_HINT_MOUSE_TOUCH_EVENTS for iPhone and iPad as well
This commit is contained in:
@@ -319,11 +319,8 @@ extern "C" {
|
||||
* \brief A variable controlling whether mouse events should generate synthetic touch events
|
||||
*
|
||||
* This variable can be set to the following values:
|
||||
* "0" - Mouse events will not generate touch events
|
||||
* "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.
|
||||
* "0" - Mouse events will not generate touch events (default for desktop platforms)
|
||||
* "1" - Mouse events will generate touch events (default for mobile platforms, such as Android and iOS)
|
||||
*/
|
||||
|
||||
#define SDL_HINT_MOUSE_TOUCH_EVENTS "SDL_MOUSE_TOUCH_EVENTS"
|
||||
|
Reference in New Issue
Block a user