mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-16 11:25:47 +00:00
Sync SDL3 wiki -> header
This commit is contained in:
@@ -1240,8 +1240,10 @@ extern DECLSPEC int SDLCALL SDL_GetNumGamepadTouchpadFingers(SDL_Gamepad *gamepa
|
|||||||
* \param touchpad a touchpad
|
* \param touchpad a touchpad
|
||||||
* \param finger a finger
|
* \param finger a finger
|
||||||
* \param state filled with state
|
* \param state filled with state
|
||||||
* \param x filled with x position, normalized 0 to 1, with the origin in the upper left
|
* \param x filled with x position, normalized 0 to 1, with the origin in the
|
||||||
* \param y filled with y position, normalized 0 to 1, with the origin in the upper left
|
* upper left
|
||||||
|
* \param y filled with y position, normalized 0 to 1, with the origin in the
|
||||||
|
* upper left
|
||||||
* \param pressure filled with pressure value
|
* \param pressure filled with pressure value
|
||||||
* \returns 0 on success or a negative error code on failure; call
|
* \returns 0 on success or a negative error code on failure; call
|
||||||
* SDL_GetError() for more information.
|
* SDL_GetError() for more information.
|
||||||
|
|||||||
@@ -587,11 +587,15 @@ extern DECLSPEC int SDLCALL SDL_SetJoystickVirtualHat(SDL_Joystick *joystick, in
|
|||||||
* SDL_WaitEvent.
|
* SDL_WaitEvent.
|
||||||
*
|
*
|
||||||
* \param joystick the virtual joystick on which to set state.
|
* \param joystick the virtual joystick on which to set state.
|
||||||
* \param touchpad the index of the touchpad on the virtual joystick to update.
|
* \param touchpad the index of the touchpad on the virtual joystick to
|
||||||
|
* update.
|
||||||
* \param finger the index of the finger on the touchpad to set.
|
* \param finger the index of the finger on the touchpad to set.
|
||||||
* \param state `SDL_PRESSED` if the finger is pressed, `SDL_RELEASED` if the finger is released
|
* \param state `SDL_PRESSED` if the finger is pressed, `SDL_RELEASED` if the
|
||||||
* \param x the x coordinate of the finger on the touchpad, normalized 0 to 1, with the origin in the upper left
|
* finger is released
|
||||||
* \param y the y coordinate of the finger on the touchpad, normalized 0 to 1, with the origin in the upper left
|
* \param x the x coordinate of the finger on the touchpad, normalized 0 to 1,
|
||||||
|
* with the origin in the upper left
|
||||||
|
* \param y the y coordinate of the finger on the touchpad, normalized 0 to 1,
|
||||||
|
* with the origin in the upper left
|
||||||
* \param pressure the pressure of the finger
|
* \param pressure the pressure of the finger
|
||||||
* \returns 0 on success or a negative error code on failure; call
|
* \returns 0 on success or a negative error code on failure; call
|
||||||
* SDL_GetError() for more information.
|
* SDL_GetError() for more information.
|
||||||
@@ -611,7 +615,8 @@ extern DECLSPEC int SDLCALL SDL_SetJoystickVirtualTouchpad(SDL_Joystick *joystic
|
|||||||
*
|
*
|
||||||
* \param joystick the virtual joystick on which to set state.
|
* \param joystick the virtual joystick on which to set state.
|
||||||
* \param type the type of the sensor on the virtual joystick to update.
|
* \param type the type of the sensor on the virtual joystick to update.
|
||||||
* \param sensor_timestamp a 64-bit timestamp in nanoseconds associated with the sensor reading
|
* \param sensor_timestamp a 64-bit timestamp in nanoseconds associated with
|
||||||
|
* the sensor reading
|
||||||
* \param data the data associated with the sensor reading
|
* \param data the data associated with the sensor reading
|
||||||
* \param num_values the number of values pointed to by `data`
|
* \param num_values the number of values pointed to by `data`
|
||||||
* \returns 0 on success or a negative error code on failure; call
|
* \returns 0 on success or a negative error code on failure; call
|
||||||
|
|||||||
Reference in New Issue
Block a user