File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
projects/Notepad++/raylib_npp_parser Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -216,6 +216,7 @@ RLAPI bool IsKeyUp(int key); // Check if a key
216
216
RLAPI int GetKeyPressed (void ); // Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty
217
217
RLAPI int GetCharPressed (void ); // Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty
218
218
RLAPI void SetExitKey (int key ); // Set a custom key to exit program (default is ESC)
219
+ RLAPI const char * GetKeyName (int key ); // Get name of a QWERTY key on the current keyboard layout (eg returns string "q" for KEY_A on an AZERTY keyboard)
219
220
220
221
// Input-related functions: gamepads
221
222
RLAPI bool IsGamepadAvailable (int gamepad ); // Check if a gamepad is available
Original file line number Diff line number Diff line change @@ -1178,6 +1178,7 @@ RLAPI bool IsKeyUp(int key); // Check if a key
1178
1178
RLAPI int GetKeyPressed (void ); // Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty
1179
1179
RLAPI int GetCharPressed (void ); // Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty
1180
1180
RLAPI void SetExitKey (int key ); // Set a custom key to exit program (default is ESC)
1181
+ RLAPI const char * GetKeyName (int key ); // Get name of a QWERTY key on the current keyboard layout (eg returns string "q" for KEY_A on an AZERTY keyboard)
1181
1182
1182
1183
// Input-related functions: gamepads
1183
1184
RLAPI bool IsGamepadAvailable (int gamepad ); // Check if a gamepad is available
You can’t perform that action at this time.
0 commit comments