From 1d3f230c92f2f8d611fb4372bcc7ea1a454ca4ba Mon Sep 17 00:00:00 2001 From: raysan5 Date: Sun, 24 Nov 2019 13:39:45 +0100 Subject: Review key input queue PR #1012 Keeping original API --- src/raylib.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/raylib.h') diff --git a/src/raylib.h b/src/raylib.h index 3d7eae31..181be1fc 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -975,11 +975,8 @@ RLAPI bool IsKeyPressed(int key); // Detect if a key RLAPI bool IsKeyDown(int key); // Detect if a key is being pressed RLAPI bool IsKeyReleased(int key); // Detect if a key has been released once RLAPI bool IsKeyUp(int key); // Detect if a key is NOT being pressed -RLAPI int GetKeyPressed(void); // Get latest key pressed RLAPI void SetExitKey(int key); // Set a custom key to exit program (default is ESC) - -RLAPI bool IsCharAvailable(); // Check if input character exists at least one in the internal input character stream. The characters are produced by the operating system text input system. -RLAPI unsigned int GetNextChar(); // Pull a input character from the the internal input character stream +RLAPI int GetKeyPressed(void); // Get key pressed, call it multiple times for chars queued // Input-related functions: gamepads RLAPI bool IsGamepadAvailable(int gamepad); // Detect if a gamepad is available -- cgit v1.2.3