Update raylib_api.* by CI

This commit is contained in:
github-actions[bot] 2024-12-12 00:04:05 +00:00
parent a066d647a8
commit 411110e3ae
4 changed files with 443 additions and 416 deletions

View File

@ -4917,6 +4917,17 @@
} }
] ]
}, },
{
"name": "GetKeyPressedPro",
"description": "Get key pressed (keycode), and optional scancode, call it multiple times for keys queued, returns 0 when the queue is empty",
"returnType": "int",
"params": [
{
"type": "int*",
"name": "scanCode"
}
]
},
{ {
"name": "SetExitKey", "name": "SetExitKey",
"description": "Set a custom key to exit program (default is ESC)", "description": "Set a custom key to exit program (default is ESC)",

View File

@ -4359,6 +4359,14 @@ return {
{type = "int", name = "key"} {type = "int", name = "key"}
} }
}, },
{
name = "GetKeyPressedPro",
description = "Get key pressed (keycode), and optional scancode, call it multiple times for keys queued, returns 0 when the queue is empty",
returnType = "int",
params = {
{type = "int*", name = "scanCode"}
}
},
{ {
name = "SetExitKey", name = "SetExitKey",
description = "Set a custom key to exit program (default is ESC)", description = "Set a custom key to exit program (default is ESC)",

File diff suppressed because it is too large Load Diff

View File

@ -679,7 +679,7 @@
<Param type="unsigned int" name="frames" desc="" /> <Param type="unsigned int" name="frames" desc="" />
</Callback> </Callback>
</Callbacks> </Callbacks>
<Functions count="582"> <Functions count="583">
<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="" />
@ -1189,6 +1189,9 @@
<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="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="GetKeyPressedPro" retType="int" paramCount="1" desc="Get key pressed (keycode), and optional scancode, call it multiple times for keys queued, returns 0 when the queue is empty">
<Param type="int*" name="scanCode" desc="" />
</Function>
<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>