mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-06 23:40:54 +00:00
Sync SDL3 wiki -> header
This commit is contained in:
parent
6fc6e3dc7e
commit
68c61ff3a8
3 changed files with 11 additions and 10 deletions
|
@ -1252,11 +1252,12 @@ extern SDL_DECLSPEC int SDLCALL SDL_GetNumGamepadTouchpadFingers(SDL_Gamepad *ga
|
||||||
* \param gamepad a gamepad.
|
* \param gamepad a gamepad.
|
||||||
* \param touchpad a touchpad.
|
* \param touchpad a touchpad.
|
||||||
* \param finger a finger.
|
* \param finger a finger.
|
||||||
* \param down a pointer filled with SDL_TRUE if the finger is down, SDL_FALSE otherwise, may be NULL.
|
* \param down a pointer filled with SDL_TRUE if the finger is down, SDL_FALSE
|
||||||
* \param x a pointer filled with the x position, normalized 0 to 1, with the origin in the
|
* otherwise, may be NULL.
|
||||||
* upper left, may be NULL.
|
* \param x a pointer filled with the x position, normalized 0 to 1, with the
|
||||||
* \param y a pointer filled with the y position, normalized 0 to 1, with the origin in the
|
* origin in the upper left, may be NULL.
|
||||||
* upper left, may be NULL.
|
* \param y a pointer filled with the y position, normalized 0 to 1, with the
|
||||||
|
* origin in the upper left, may be NULL.
|
||||||
* \param pressure a pointer filled with pressure value, may be NULL.
|
* \param pressure a pointer filled with pressure value, may be NULL.
|
||||||
* \returns SDL_TRUE on success or SDL_FALSE on failure; call SDL_GetError()
|
* \returns SDL_TRUE on success or SDL_FALSE on failure; call SDL_GetError()
|
||||||
* for more information.
|
* for more information.
|
||||||
|
|
|
@ -598,8 +598,8 @@ extern SDL_DECLSPEC SDL_bool SDLCALL SDL_SetJoystickVirtualHat(SDL_Joystick *joy
|
||||||
* \param touchpad the index of the touchpad on the virtual joystick to
|
* \param touchpad the index of the touchpad on the virtual joystick to
|
||||||
* update.
|
* 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 down SDL_TRUE if the finger is pressed, SDL_FALSE if the
|
* \param down SDL_TRUE if the finger is pressed, SDL_FALSE if the finger is
|
||||||
* finger is released.
|
* released.
|
||||||
* \param x the x coordinate of the finger on the touchpad, normalized 0 to 1,
|
* \param x the x coordinate of the finger on the touchpad, normalized 0 to 1,
|
||||||
* with the origin in the upper left.
|
* with the origin in the upper left.
|
||||||
* \param y the y coordinate of the finger on the touchpad, normalized 0 to 1,
|
* \param y the y coordinate of the finger on the touchpad, normalized 0 to 1,
|
||||||
|
|
|
@ -119,9 +119,9 @@ extern SDL_DECLSPEC SDL_Window * SDLCALL SDL_GetKeyboardFocus(void);
|
||||||
* valid for the whole lifetime of the application and should not be freed by
|
* valid for the whole lifetime of the application and should not be freed by
|
||||||
* the caller.
|
* the caller.
|
||||||
*
|
*
|
||||||
* A array element with a value of SDL_TRUE means that the key is pressed and a value
|
* A array element with a value of SDL_TRUE means that the key is pressed and
|
||||||
* of SDL_FALSE means that it is not. Indexes into this array are obtained by using
|
* a value of SDL_FALSE means that it is not. Indexes into this array are
|
||||||
* SDL_Scancode values.
|
* obtained by using SDL_Scancode values.
|
||||||
*
|
*
|
||||||
* Use SDL_PumpEvents() to update the state array.
|
* Use SDL_PumpEvents() to update the state array.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue