summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2021-08-10 21:32:29 +0200
committerraysan5 <[email protected]>2021-08-10 21:32:29 +0200
commitb54422c97076c600f47a827cdce2ab7e5eca8933 (patch)
tree2a612afbe5f1f34af5354c5325a9a62b74c893ed /src
parente3f0a11053beae4c21249e814b2714a717f9bdb2 (diff)
parentef9fdd0fa5dcfbf4c3c538b56d285230e8d6af1e (diff)
downloadraylib-b54422c97076c600f47a827cdce2ab7e5eca8933.tar.gz
raylib-b54422c97076c600f47a827cdce2ab7e5eca8933.zip
Merge branch 'master' of https://github.com/raysan5/raylib
Diffstat (limited to 'src')
-rw-r--r--src/raylib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 92e592e9..f02f46f6 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1077,8 +1077,8 @@ RLAPI bool IsKeyDown(int key); // Check if a key
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)
-RLAPI int GetKeyPressed(void); // Get key pressed (keycode), call it multiple times for keys queued
-RLAPI int GetCharPressed(void); // Get char pressed (unicode), call it multiple times for chars queued
+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.
// Input-related functions: gamepads
RLAPI bool IsGamepadAvailable(int gamepad); // Check if a gamepad is available