mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
Fix bug with key event filtering (when text input enabled) for UWP.
Fixes #21635
This commit is contained in:
1 parent
d87d942ef8
commit
9a7346b10e
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user