mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +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().
|
||||
*
|
||||
* SDL can, on many platforms, differentiate between multiple connected mice,
|
||||
* allowing for interesting input scenarios and multiplayer games. They can
|
||||
* be enumerated with SDL_GetMice(), and SDL will send SDL_EVENT_MOUSE_ADDED
|
||||
* and SDL_EVENT_MOUSE_REMOVED events as they are connected and unplugged.
|
||||
* allowing for interesting input scenarios and multiplayer games. They can be
|
||||
* enumerated with SDL_GetMice(), and SDL will send SDL_EVENT_MOUSE_ADDED and
|
||||
* SDL_EVENT_MOUSE_REMOVED events as they are connected and unplugged.
|
||||
*
|
||||
* 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
|
||||
* application work on a touchscreen phone without any code changes. Apps that
|
||||
* care about touch/pen separately from mouse input should filter out
|
||||
* events with a `which` field of SDL_TOUCH_MOUSEID/SDL_PEN_MOUSEID.
|
||||
* care about touch/pen separately from mouse input should filter out events
|
||||
* with a `which` field of SDL_TOUCH_MOUSEID/SDL_PEN_MOUSEID.
|
||||
*/
|
||||
|
||||
#ifndef SDL_mouse_h_
|
||||
|
Reference in New Issue
Block a user