Skip to content

Commit

Permalink
Merge branch 'scancodes' of github.com:JeffM2501/raylib into scancodes
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffM2501 committed Nov 11, 2024
2 parents a1cd248 + 7ea8235 commit dacd65d
Show file tree
Hide file tree
Showing 4 changed files with 443 additions and 416 deletions.
11 changes: 11 additions & 0 deletions parser/output/raylib_api.json
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down
8 changes: 8 additions & 0 deletions parser/output/raylib_api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down
Loading

0 comments on commit dacd65d

Please sign in to comment.