mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 03:18:13 +00:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
@@ -43,15 +43,15 @@
|
|||||||
* or perhaps just a specific system cursor from SDL_CreateSystemCursor().
|
* or perhaps just a specific system cursor from SDL_CreateSystemCursor().
|
||||||
*
|
*
|
||||||
* SDL can, on many platforms, differentiate between multiple connected mice,
|
* SDL can, on many platforms, differentiate between multiple connected mice,
|
||||||
* allowing for interesting input scenarios and multiplayer games. They can
|
* allowing for interesting input scenarios and multiplayer games. They can be
|
||||||
* be enumerated with SDL_GetMice(), and SDL will send SDL_EVENT_MOUSE_ADDED
|
* enumerated with SDL_GetMice(), and SDL will send SDL_EVENT_MOUSE_ADDED and
|
||||||
* and SDL_EVENT_MOUSE_REMOVED events as they are connected and unplugged.
|
* SDL_EVENT_MOUSE_REMOVED events as they are connected and unplugged.
|
||||||
*
|
*
|
||||||
* Since many apps only care about basic mouse input, SDL offers a virtual
|
* Since many apps only care about basic mouse input, SDL offers a virtual
|
||||||
* mouse device for touch and pen input, which often can make a desktop
|
* mouse device for touch and pen input, which often can make a desktop
|
||||||
* application work on a touchscreen phone without any code changes. Apps that
|
* application work on a touchscreen phone without any code changes. Apps that
|
||||||
* care about touch/pen separately from mouse input should filter out
|
* care about touch/pen separately from mouse input should filter out events
|
||||||
* events with a `which` field of SDL_TOUCH_MOUSEID/SDL_PEN_MOUSEID.
|
* with a `which` field of SDL_TOUCH_MOUSEID/SDL_PEN_MOUSEID.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SDL_mouse_h_
|
#ifndef SDL_mouse_h_
|
||||||
|
Reference in New Issue
Block a user