ANDROID_SEPARATE_MOUSE_AND_TOUCH


Description:

[ Version ( since = "2.0.4" ) ]
[ CCode ( cname = "SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH" ) ]
public const string ANDROID_SEPARATE_MOUSE_AND_TOUCH

A hint that specifies a variable to control whether mouse and touch events are to be treated together or separately.

The value of this hint is used at runtime, so it can be changed at any time.

The variable can be set to the following values:

  • "0" - mouse events will be handled as touch events and touch will

    raise fake mouse events

  • "1" - mouse events will be handled separately from pure touch events

By default mouse events will be handled as touch events and touch will raise fake mouse events.


Namespace: SDL.Hint
Package: sdl2