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 touchpad a touchpad.
|
||||
* \param finger a finger.
|
||||
* \param down a pointer filled with SDL_TRUE if the finger is down, SDL_FALSE otherwise, may be NULL.
|
||||
* \param x a pointer filled with the x position, normalized 0 to 1, with the origin in the
|
||||
* 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 down a pointer filled with SDL_TRUE if the finger is down, SDL_FALSE
|
||||
* otherwise, may be NULL.
|
||||
* \param x a pointer filled with the x position, normalized 0 to 1, with the
|
||||
* origin in the 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.
|
||||
* \returns SDL_TRUE on success or SDL_FALSE on failure; call SDL_GetError()
|
||||
* 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
|
||||
* update.
|
||||
* \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
|
||||
* finger is released.
|
||||
* \param down SDL_TRUE if the finger is pressed, SDL_FALSE if the finger is
|
||||
* released.
|
||||
* \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,
|
||||
|
|
|
@ -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
|
||||
* the caller.
|
||||
*
|
||||
* A array element with a value of SDL_TRUE means that the key is pressed and a value
|
||||
* of SDL_FALSE means that it is not. Indexes into this array are obtained by using
|
||||
* SDL_Scancode values.
|
||||
* A array element with a value of SDL_TRUE means that the key is pressed and
|
||||
* a value of SDL_FALSE means that it is not. Indexes into this array are
|
||||
* obtained by using SDL_Scancode values.
|
||||
*
|
||||
* Use SDL_PumpEvents() to update the state array.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue