Update raylib_api.* by CI

This commit is contained in:
github-actions[bot] 2024-12-01 22:25:46 +00:00
parent b50d418ec7
commit e5e2bc83c3
4 changed files with 20 additions and 20 deletions

View file

@ -4882,9 +4882,9 @@
"returnType": "int" "returnType": "int"
}, },
{ {
"name": "SetExitKey", "name": "GetKeyName",
"description": "Set a custom key to exit program (default is ESC)", "description": "Get name of a QWERTY key on the current keyboard layout (eg returns string 'q' for KEY_A on an AZERTY keyboard)",
"returnType": "void", "returnType": "const char *",
"params": [ "params": [
{ {
"type": "int", "type": "int",
@ -4893,9 +4893,9 @@
] ]
}, },
{ {
"name": "GetKeyName", "name": "SetExitKey",
"description": "Get name of a QWERTY key on the current keyboard layout (eg returns string "q" for KEY_A on an AZERTY keyboard)", "description": "Set a custom key to exit program (default is ESC)",
"returnType": "const char *", "returnType": "void",
"params": [ "params": [
{ {
"type": "int", "type": "int",

View file

@ -4327,17 +4327,17 @@ return {
returnType = "int" returnType = "int"
}, },
{ {
name = "SetExitKey", name = "GetKeyName",
description = "Set a custom key to exit program (default is ESC)", description = "Get name of a QWERTY key on the current keyboard layout (eg returns string 'q' for KEY_A on an AZERTY keyboard)",
returnType = "void", returnType = "const char *",
params = { params = {
{type = "int", name = "key"} {type = "int", name = "key"}
} }
}, },
{ {
name = "GetKeyName", name = "SetExitKey",
description = "Get name of a QWERTY key on the current keyboard layout (eg returns string "q" for KEY_A on an AZERTY keyboard)", description = "Set a custom key to exit program (default is ESC)",
returnType = "const char *", returnType = "void",
params = { params = {
{type = "int", name = "key"} {type = "int", name = "key"}
} }

View file

@ -1886,16 +1886,16 @@ Function 167: GetCharPressed() (0 input parameters)
Return type: int Return type: int
Description: Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty Description: Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty
No input parameters No input parameters
Function 168: SetExitKey() (1 input parameters) Function 168: GetKeyName() (1 input parameters)
Name: GetKeyName
Return type: const char *
Description: Get name of a QWERTY key on the current keyboard layout (eg returns string 'q' for KEY_A on an AZERTY keyboard)
Param[1]: key (type: int)
Function 169: SetExitKey() (1 input parameters)
Name: SetExitKey Name: SetExitKey
Return type: void Return type: void
Description: Set a custom key to exit program (default is ESC) Description: Set a custom key to exit program (default is ESC)
Param[1]: key (type: int) Param[1]: key (type: int)
Function 169: GetKeyName() (1 input parameters)
Name: GetKeyName
Return type: const char *
Description: Get name of a QWERTY key on the current keyboard layout (eg returns string "q" for KEY_A on an AZERTY keyboard)
Param[1]: key (type: int)
Function 170: IsGamepadAvailable() (1 input parameters) Function 170: IsGamepadAvailable() (1 input parameters)
Name: IsGamepadAvailable Name: IsGamepadAvailable
Return type: bool Return type: bool

View file

@ -1181,10 +1181,10 @@
</Function> </Function>
<Function name="GetCharPressed" retType="int" paramCount="0" desc="Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty"> <Function name="GetCharPressed" retType="int" paramCount="0" desc="Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty">
</Function> </Function>
<Function name="SetExitKey" retType="void" paramCount="1" desc="Set a custom key to exit program (default is ESC)"> <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="" /> <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)"> <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="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">