Sfoglia il codice sorgente

Update raylib_api.* by CI

github-actions[bot] 9 mesi fa
parent
commit
31a1047782

+ 11 - 0
parser/output/raylib_api.json

@@ -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",
       "description": "Check if a gamepad is available",

+ 8 - 0
parser/output/raylib_api.lua

@@ -4334,6 +4334,14 @@ return {
         {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",
       description = "Check if a gamepad is available",

File diff suppressed because it is too large
+ 138 - 133
parser/output/raylib_api.txt


+ 4 - 1
parser/output/raylib_api.xml

@@ -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="" />
@@ -1184,6 +1184,9 @@
         <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>
+        <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">
             <Param type="int" name="gamepad" desc="" />
         </Function>

Some files were not shown because too many files changed in this diff