Fix bug with key event filtering (when text input enabled) for UWP.

Fixes #21635
This commit is contained in:
Henrik Rydgård committed 2026-05-04 22:15:07 +02:00
1 parent d87d942ef8
commit 9a7346b10e
1 file changed
+1 -1
+1 -1
View File
@@ -1292,7 +1292,7 @@ bool NativeKey(const KeyInput &key) {
#if PPSSPP_PLATFORM(UWP)
// Ignore if key sent from OnKeyDown/OnKeyUp/XInput while text edit active
// it's already handled by `OnCharacterReceived`
if (IgnoreInput(key.keyCode) && !(key.flags & KeyInputFlags::CHAR)) {
if (key.deviceId == DEVICE_ID_KEYBOARD && IgnoreInput(key.keyCode) && !(key.flags & KeyInputFlags::CHAR)) {
return false;
}
#endif