https://discussion.fedoraproject.org/t/keyboard-lag-in-games-after-upgrading-to-fedora-40-gnome/1155
https://discussion.fedoraproject.org/t/keyboard-lag-in-games-after-upgrading-to-fedora-40-gnome/115506/4
https://discussion.fedoraproject.org/t/ibus-daemon-introduces-delays-and-even-locks-keyboard-up-in-some-steam-games/118095
maybe you can investigate further
https://discussion.fedoraproject.org/t/ibus-daemon-introduces-delays-and-even-locks-keyboard-up-in-some-steam-games/118095
maybe you can investigate further
Fedora Discussion
I found this bug report Proton#4571, and reading through it and the linked issue it seems some people have a similar situation to what you describe. It is suggested by some that the issue can be worked around by disabling repeating keys in Gnome. Give it a try and see if it helps: settings → accessibility → repeat keys

Fedora Discussion
So after rocking Fedora 40 Gnome for 2 weeks now, i came across a strange bug where the ibus system seems to lock up all keyboard interaction in some games (in Mechwarrior 5 it happens all the time). Before encountering the lock up problem, i always had the feeling that keyboard interactions seemed a bit delayed all around, especially compared t...

