Browse Source

Merge branch 'scancodes' of github.com:JeffM2501/raylib into scancodes

pull/4481/head
Jeffery Myers 1 week ago
parent
commit
dacd65d07a
4 changed files with 443 additions and 416 deletions
  1. +11
    -0
      parser/output/raylib_api.json
  2. +8
    -0
      parser/output/raylib_api.lua
  3. +420
    -415
      parser/output/raylib_api.txt
  4. +4
    -1
      parser/output/raylib_api.xml

+ 11
- 0
parser/output/raylib_api.json View File

@ -4881,6 +4881,17 @@
"description": "Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty",
"returnType": "int"
},
{
"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",
"description": "Set a custom key to exit program (default is ESC)",

+ 8
- 0
parser/output/raylib_api.lua View File

@ -4326,6 +4326,14 @@ return {
description = "Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty",
returnType = "int"
},
{
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",
description = "Set a custom key to exit program (default is ESC)",

+ 420
- 415
parser/output/raylib_api.txt
File diff suppressed because it is too large
View File


+ 4
- 1
parser/output/raylib_api.xml View File

@ -674,7 +674,7 @@
<Param type="unsigned int" name="frames" desc="" />
</Callback>
</Callbacks>
<Functions count="581">
<Functions count="582">
<Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
<Param type="int" name="width" desc="" />
<Param type="int" name="height" desc="" />
@ -1181,6 +1181,9 @@
</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>
<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)">
<Param type="int" name="key" desc="" />
</Function>

Loading…
Cancel
Save