Oh, you’re right. They have that option and it works, thank you. Though now I wish they had a setting to allow only one specific key. I see it’s either function keys/function+whatever you press while holding function key/everything. But then again, I only use 2 applications running in xwayland so it’s fine.
I had the same issue with my PS5 controller. For me the fix was to go to steam settings -> controller -> “playstation controller support” set to enabled (the default was "enabled in games w/o support). For some reason I had to change that option to make it recognize input in games.