Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Proton keyboard layout swap issu.

Open TheFlomax opened this issue 7 months ago • 8 comments

Hey, I have a really strange behavior with Proton in relation to keyboard layout swap: when I have “French” at the top of my layout list, but set my OS keyboard to US, in-game chat input correctly uses US QWERTY, but all my movement/interaction keys (ZQSD, etc.) still act as if I were on AZERTY French.

How to reproduce this situation:

In GNOME/KDE, add “English (US)” and “French (AZERTY)”.

Put “French” at the top of the list, then change your operating system's keyboard layout to “English (US)”.

Launch any game via Proton :

    Chat input follows the layout of the American QWERTY keyboard.

    Movement and interaction keys behave as if you were on a French AZERTY keyboard (ZQSD inverted).

Even if you reverse the order of the list (US first), everything works as intended with QWERTY movement and interaction keys.

What's happening: Proton seems to consider only the first-entry layout for game commands, ignoring the actual active layout for inputs other than chat, whereas chat windows respect the actual operating system layout.

This forces me to rearrange my layouts each time to get consistent controls, which is very annoying.

This bug is on every version of Proton.

Image

TheFlomax avatar May 17 '25 11:05 TheFlomax

I've had the same issue for years !

khatharsis42 avatar May 19 '25 14:05 khatharsis42

Hi, thank you for "resolving" the issue. Set English keyboard layout on top and Watch_Dogs and all buttons started to work.

Without this "fix": Image

With English layout on top: Image

Image

marshallovski avatar May 29 '25 14:05 marshallovski

same here it's a major problem for every non QWERTY keyboard user it's even more a problem when some devs are lazy enough to include non Qwerty keys in some games so remapping is impossible, so you are forced to switch layout to play (like atomic heart)

this really need to be fix

autisticgandalf avatar Oct 18 '25 07:10 autisticgandalf

I've found a workaround. In steam, you can change the command to setxkbmap us && %command% && setxkbmap <your language>

khatharsis42 avatar Oct 20 '25 16:10 khatharsis42

I've found a workaround. In steam, you can change the command to setxkbmap us && %command% && setxkbmap <your language>

so if i understand i put setxkbmap us && %command% && setxkbmap fr in the command section of my game property on steam so it will be QWERTY instead of AZERTY ?

EDIT: yep it work

autisticgandalf avatar Dec 02 '25 22:12 autisticgandalf

I've found a workaround. In steam, you can change the command to setxkbmap us && %command% && setxkbmap <your language>

I try and give u a feedback.

TheFlomax avatar Dec 03 '25 07:12 TheFlomax

why is this still an issue after all these years??? setxkbmap does not work.

Tohkai avatar Dec 09 '25 19:12 Tohkai

Probably because the maitainers have a QWERTY keyboard and most games allow you to remap the keys anyways

khatharsis42 avatar Dec 09 '25 20:12 khatharsis42