Remove misguided hack to signal that we handled key repeats.

Fixes #21336
This commit is contained in:
Henrik Rydgård committed 2026-03-05 01:55:41 +01:00
1 parent c3dbb7f608
commit 3352ba44bb
3 files changed
+2 -7

No files matched your search

-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);