Remove misguided hack to signal that we handled key repeats.

Fixes #21336
This commit is contained in:
Henrik Rydgård
2026-03-05 01:55:41 +01:00
parent c3dbb7f608
commit 3352ba44bb
3 changed files with 2 additions and 7 deletions
-5
View File
@@ -531,11 +531,6 @@ bool ControlMapper::UpdatePSPState(const InputMapping &changedMapping, double no
}
bool ControlMapper::Key(const KeyInput &key, bool *pauseTrigger) {
if (key.flags & KeyInputFlags::IS_REPEAT) {
// Claim that we handled this. Prevents volume key repeats from popping up the volume control on Android.
return true;
}
double now = time_now_d();
InputMapping mapping(key.deviceId, key.keyCode);