Qwerty in game not work for ZQSD

In my case, when I'm playing with ZorinOS 18 Pro via Steam, for example,
I used to press Windows Shift to change the keyboard layout in Windows from French to US for the ZQSD keys.

The game recognizes the US English keyboard when typing. Z is W. But when moving around, it doesn't work at all.
I'm looking for a way to fix this.

Thx

Welcome to the Forum!

Do You switch the Keyboard Layout in Steam or in the System Settings? Is Steam installed as Flatpak or .deb?

Many users experience keyboard layout issues in Linux when switching between QWERTY and AZERTY. For ZQSD movement keys, configuring the system keyboard to match the in-game layout often resolves the problem. Using Steam’s “Input Per-Game” settings can help map keys correctly.