mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-07-24 16:45:21 +02:00
Input.repeatex? should always return false for non-repeating keys
This commit is contained in:
parent
f583683609
commit
d494ca9f08
1 changed files with 1 additions and 1 deletions
|
@ -818,7 +818,7 @@ struct InputPrivate
|
|||
b.triggered = (rawStates[scancode] && !rawStatesOld[scancode]);
|
||||
b.released = (!rawStates[scancode] && rawStatesOld[scancode]);
|
||||
|
||||
b.repeated = rawRepeatCount >= repeatStart && ((rawRepeatCount+1) % repeatDelay) == 0;
|
||||
b.repeated = (rawRepeating == scancode) && (rawRepeatCount >= repeatStart && ((rawRepeatCount+1) % repeatDelay) == 0);
|
||||
|
||||
return b;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue