mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-06 14:23:12 +00:00
Reviewed IsKeyPressedRepeat() #3248
This commit is contained in:
parent
b3f82a148a
commit
dfd0436428
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user