Skip to content

Commit

Permalink
Update raylib_api.* by CI
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 21, 2024
1 parent f8f6aa0 commit 2a0963c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
6 changes: 5 additions & 1 deletion parser/output/raylib_api.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand All @@ -5032,6 +5032,10 @@
{
"type": "float",
"name": "rightMotor"
},
{
"type": "float",
"name": "duration"
}
]
},
Expand Down
5 changes: 3 additions & 2 deletions parser/output/raylib_api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
}
},
{
Expand Down
5 changes: 3 additions & 2 deletions parser/output/raylib_api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion parser/output/raylib_api.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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="" />
Expand Down

0 comments on commit 2a0963c

Please sign in to comment.