瀏覽代碼

Update raylib_to_parse.h: GetKeyName prototype

pull/4544/head
Mossieur-Patate 4 月之前
committed by GitHub
父節點
當前提交
2e8b922c83
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: B5690EEEBB952194
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      projects/Notepad++/raylib_npp_parser/raylib_to_parse.h

+ 1
- 0
projects/Notepad++/raylib_npp_parser/raylib_to_parse.h 查看文件

@ -216,6 +216,7 @@ RLAPI bool IsKeyUp(int key); // Check if a key
RLAPI int GetKeyPressed(void); // Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty
RLAPI int GetCharPressed(void); // Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty
RLAPI void SetExitKey(int key); // Set a custom key to exit program (default is ESC)
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)
// Input-related functions: gamepads
RLAPI bool IsGamepadAvailable(int gamepad); // Check if a gamepad is available

Loading…
取消
儲存