SDL Wiki

SDL_HINT_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.

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

Default

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

Remarks

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

Version

This hint is available since SDL 2.0.4.

This hint is removed since SDL 2.0.10.


CategoryAPI, CategoryAPIMacro, CategoryHints


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.