Update raylib_api.* by CI
This commit is contained in:
parent
f8f6aa0907
commit
2a0963ce09
4 changed files with 13 additions and 6 deletions
|
@ -5018,7 +5018,7 @@
|
|||
},
|
||||
{
|
||||
"name": "SetGamepadVibration",
|
||||
"description": "Set gamepad vibration for both motors",
|
||||
"description": "Set gamepad vibration for both motors (duration in seconds)",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
|
@ -5032,6 +5032,10 @@
|
|||
{
|
||||
"type": "float",
|
||||
"name": "rightMotor"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "duration"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
@ -4418,12 +4418,13 @@ return {
|
|||
},
|
||||
{
|
||||
name = "SetGamepadVibration",
|
||||
description = "Set gamepad vibration for both motors",
|
||||
description = "Set gamepad vibration for both motors (duration in seconds)",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "int", name = "gamepad"},
|
||||
{type = "float", name = "leftMotor"},
|
||||
{type = "float", name = "rightMotor"}
|
||||
{type = "float", name = "rightMotor"},
|
||||
{type = "float", name = "duration"}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -1942,13 +1942,14 @@ Function 177: SetGamepadMappings() (1 input parameters)
|
|||
Return type: int
|
||||
Description: Set internal gamepad mappings (SDL_GameControllerDB)
|
||||
Param[1]: mappings (type: const char *)
|
||||
Function 178: SetGamepadVibration() (3 input parameters)
|
||||
Function 178: SetGamepadVibration() (4 input parameters)
|
||||
Name: SetGamepadVibration
|
||||
Return type: void
|
||||
Description: Set gamepad vibration for both motors
|
||||
Description: Set gamepad vibration for both motors (duration in seconds)
|
||||
Param[1]: gamepad (type: int)
|
||||
Param[2]: leftMotor (type: float)
|
||||
Param[3]: rightMotor (type: float)
|
||||
Param[4]: duration (type: float)
|
||||
Function 179: IsMouseButtonPressed() (1 input parameters)
|
||||
Name: IsMouseButtonPressed
|
||||
Return type: bool
|
||||
|
|
|
@ -1217,10 +1217,11 @@
|
|||
<Function name="SetGamepadMappings" retType="int" paramCount="1" desc="Set internal gamepad mappings (SDL_GameControllerDB)">
|
||||
<Param type="const char *" name="mappings" desc="" />
|
||||
</Function>
|
||||
<Function name="SetGamepadVibration" retType="void" paramCount="3" desc="Set gamepad vibration for both motors">
|
||||
<Function name="SetGamepadVibration" retType="void" paramCount="4" desc="Set gamepad vibration for both motors (duration in seconds)">
|
||||
<Param type="int" name="gamepad" desc="" />
|
||||
<Param type="float" name="leftMotor" desc="" />
|
||||
<Param type="float" name="rightMotor" desc="" />
|
||||
<Param type="float" name="duration" desc="" />
|
||||
</Function>
|
||||
<Function name="IsMouseButtonPressed" retType="bool" paramCount="1" desc="Check if a mouse button has been pressed once">
|
||||
<Param type="int" name="button" desc="" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue