mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 03:18:14 +00:00
Reviewed IsKeyPressedRepeat()
#3248
This commit is contained in:
@@ -3761,7 +3761,7 @@ bool IsKeyPressed(int key)
|
|||||||
bool IsKeyPressedRepeat(int key)
|
bool IsKeyPressedRepeat(int key)
|
||||||
{
|
{
|
||||||
if (CORE.Input.Keyboard.keyRepeatInFrame[key] == 1) return true;
|
if (CORE.Input.Keyboard.keyRepeatInFrame[key] == 1) return true;
|
||||||
else return true;
|
else return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if a key is being pressed (key held down)
|
// Check if a key is being pressed (key held down)
|
||||||
|
Reference in New Issue
Block a user