Update raylib_api.* by CI

This commit is contained in:
github-actions[bot] 2024-11-28 21:50:14 +00:00
parent 2c4c6e6201
commit 31a1047782
4 changed files with 442 additions and 415 deletions

View file

@ -4892,6 +4892,17 @@
} }
] ]
}, },
{
"name": "GetKeyName",
"description": "Get name of a QWERTY key on the current keyboard layout (eg returns string "q" for KEY_A on an AZERTY keyboard)",
"returnType": "const char *",
"params": [
{
"type": "int",
"name": "key"
}
]
},
{ {
"name": "IsGamepadAvailable", "name": "IsGamepadAvailable",
"description": "Check if a gamepad is available", "description": "Check if a gamepad is available",

View file

@ -4334,6 +4334,14 @@ return {
{type = "int", name = "key"} {type = "int", name = "key"}
} }
}, },
{
name = "GetKeyName",
description = "Get name of a QWERTY key on the current keyboard layout (eg returns string "q" for KEY_A on an AZERTY keyboard)",
returnType = "const char *",
params = {
{type = "int", name = "key"}
}
},
{ {
name = "IsGamepadAvailable", name = "IsGamepadAvailable",
description = "Check if a gamepad is available", description = "Check if a gamepad is available",

File diff suppressed because it is too large Load diff

View file

@ -674,7 +674,7 @@
<Param type="unsigned int" name="frames" desc="" /> <Param type="unsigned int" name="frames" desc="" />
</Callback> </Callback>
</Callbacks> </Callbacks>
<Functions count="581"> <Functions count="582">
<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="" />
@ -1184,6 +1184,9 @@
<Function name="SetExitKey" retType="void" paramCount="1" desc="Set a custom key to exit program (default is ESC)"> <Function name="SetExitKey" retType="void" paramCount="1" desc="Set a custom key to exit program (default is ESC)">
<Param type="int" name="key" desc="" /> <Param type="int" name="key" desc="" />
</Function> </Function>
<Function name="GetKeyName" retType="const char *" paramCount="1" desc="Get name of a QWERTY key on the current keyboard layout (eg returns string "q" for KEY_A on an AZERTY keyboard)">
<Param type="int" name="key" desc="" />
</Function>
<Function name="IsGamepadAvailable" retType="bool" paramCount="1" desc="Check if a gamepad is available"> <Function name="IsGamepadAvailable" retType="bool" paramCount="1" desc="Check if a gamepad is available">
<Param type="int" name="gamepad" desc="" /> <Param type="int" name="gamepad" desc="" />
</Function> </Function>