Update raylib_api.* by CI
This commit is contained in:
parent
371d25c8c9
commit
2a774a88f5
4 changed files with 430 additions and 389 deletions
|
@ -4918,6 +4918,25 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "SetGamepadVibration",
|
||||||
|
"description": "Set gamepad vibration for both motors",
|
||||||
|
"returnType": "void",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"type": "int",
|
||||||
|
"name": "gamepad"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "float",
|
||||||
|
"name": "leftMotor"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "float",
|
||||||
|
"name": "rightMotor"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "IsMouseButtonPressed",
|
"name": "IsMouseButtonPressed",
|
||||||
"description": "Check if a mouse button has been pressed once",
|
"description": "Check if a mouse button has been pressed once",
|
||||||
|
|
|
@ -4342,6 +4342,16 @@ return {
|
||||||
{type = "const char *", name = "mappings"}
|
{type = "const char *", name = "mappings"}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name = "SetGamepadVibration",
|
||||||
|
description = "Set gamepad vibration for both motors",
|
||||||
|
returnType = "void",
|
||||||
|
params = {
|
||||||
|
{type = "int", name = "gamepad"},
|
||||||
|
{type = "float", name = "leftMotor"},
|
||||||
|
{type = "float", name = "rightMotor"}
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name = "IsMouseButtonPressed",
|
name = "IsMouseButtonPressed",
|
||||||
description = "Check if a mouse button has been pressed once",
|
description = "Check if a mouse button has been pressed once",
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -669,7 +669,7 @@
|
||||||
<Param type="unsigned int" name="frames" desc="" />
|
<Param type="unsigned int" name="frames" desc="" />
|
||||||
</Callback>
|
</Callback>
|
||||||
</Callbacks>
|
</Callbacks>
|
||||||
<Functions count="559">
|
<Functions count="560">
|
||||||
<Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
|
<Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
|
||||||
<Param type="int" name="width" desc="" />
|
<Param type="int" name="width" desc="" />
|
||||||
<Param type="int" name="height" desc="" />
|
<Param type="int" name="height" desc="" />
|
||||||
|
@ -1193,6 +1193,11 @@
|
||||||
<Function name="SetGamepadMappings" retType="int" paramCount="1" desc="Set internal gamepad mappings (SDL_GameControllerDB)">
|
<Function name="SetGamepadMappings" retType="int" paramCount="1" desc="Set internal gamepad mappings (SDL_GameControllerDB)">
|
||||||
<Param type="const char *" name="mappings" desc="" />
|
<Param type="const char *" name="mappings" desc="" />
|
||||||
</Function>
|
</Function>
|
||||||
|
<Function name="SetGamepadVibration" retType="void" paramCount="3" desc="Set gamepad vibration for both motors">
|
||||||
|
<Param type="int" name="gamepad" desc="" />
|
||||||
|
<Param type="float" name="leftMotor" desc="" />
|
||||||
|
<Param type="float" name="rightMotor" desc="" />
|
||||||
|
</Function>
|
||||||
<Function name="IsMouseButtonPressed" retType="bool" paramCount="1" desc="Check if a mouse button has been pressed once">
|
<Function name="IsMouseButtonPressed" retType="bool" paramCount="1" desc="Check if a mouse button has been pressed once">
|
||||||
<Param type="int" name="button" desc="" />
|
<Param type="int" name="button" desc="" />
|
||||||
</Function>
|
</Function>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue