added: IsKeyRepeating(key)
This commit is contained in:
parent
df3f64bfd2
commit
b7b13d6171
1 changed files with 39 additions and 12 deletions
|
|
@ -172,6 +172,7 @@ RLAPI void OpenURL(const char *url); // Open URL wi
|
|||
// Input-related functions: keyboard
|
||||
RLAPI bool IsKeyPressed(int key); // Check if a key has been pressed once
|
||||
RLAPI bool IsKeyDown(int key); // Check if a key is being pressed
|
||||
RLAPI bool IsKeyRepeating(int key); // Check if a key is being pressed and is currently repeating
|
||||
RLAPI bool IsKeyReleased(int key); // Check if a key has been released once
|
||||
RLAPI bool IsKeyUp(int key); // Check if a key is NOT being pressed
|
||||
RLAPI void SetExitKey(int key); // Set a custom key to exit program (default is ESC)
|
||||
|
|
|
|||
Loading…
Reference in a new issue