I have an AZERTY keyboard, how do i change camera settings from WASD to ZQSD?

I want to use unreal engine for fortnite and i see that i need to use the WASD keys on my keyboard to move the camera around. However, i have an azerty keyboard so i need ZQSD to move the camera around. I can’t find settings to change this, how can i solve this problem?

1 Like

Salut je pense que tu es Français pour ma part je suis aller dans les paramètre windows et j’ai ajouter une lange de clavier en qwerty et normelment tu pourra changer entre les deux mode comme tu veut

This has finally been told ! My fingers are now used to the WASD mapping after doing UEFN for 5months but dude it really was something to learn :smiley:

Salut lolotrot2, vu que tu es français je m’adresse à toi. En fait, on me demande de faire fonctionner WASD sur un clavier Qwerty mais ils veulent absolument que ça soit ZQSD sur un clavier Azerty pour se déplacer, et là mon Unreal s’est mis à jour il s’affiche désormais en français j’ai l’impression que tout ce que je trouve ne correspond plus et ChatGPT me propose que des trucs qui n’existe pas.
Alors si tu sais comment faire cela ton aide sera la bienvenue.
Je précise que je travaille sur MacOS avec un clavier Azerty.
Merci d’avance et bonne soirée :wink:

It’s ok, I found a solution.
I just Create two files in Unreal Engine 5.

One file of type InputAction that I called IA_Move
And another one of type InputMappingContext and you set your IA_Move in this second file, and here you can set your WASD and add ZQ too, but WASD and ZQSD will work.
Just look at my screenshots.

I cannot find a way to switch keyboard.
I guess Unreal just wants users remap their keyboard.


Then in your GameModeBase.h file just add :

public :
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = “Inputs”)
class UInputMappingContext* MappingContext;

UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = “Inputs”)
class UInputAction* MoveInputAction;

Finally you just need to set MappingContext and MoveInputAction in your GameModeBase blueprint details.

First of all I want to say that I just started learning Unreal Engine so maybe this isn’t the perfect solution, but it works. As I am a new user, I cannot add more than one image to this mini tutorial, I’ll edit this when I’ll be able to add more. In the meantime, I’ll try to be as clear as possible.

For the editor

As you may already have found, its fairly easy to change the viewport movement.

  1. Edit > Editor Preferences

  2. On the left side, under General, click on Keyboard Shortcuts

  3. Scroll down to Viewport Navigation and update your key bindings.
    It might tell you that some keys are already used for other things, but you’ll end up fixing that as well since they’re related to viewport camera movement so don’t worry about it.

For the game (Play In Editor)

This is a little bit more complicated, but following these steps should get you there in no time.

  1. Edit > Project Settings
  2. On the left side, under Engine, click on Enhanced Input
  3. Then, on the right side under Enhanced Input > Default Mapping Contexts:

In my case, there weren’t any Mapping Contexts (0 Array element). Yours might be different, in that case I don’t know what would be right to do. Sorry. But you can still try the following steps.

  1. Click on the + button

  2. In the dropdown menu, select IMC_Default

  3. Double-click on the three stacked controllers icon

  4. Under Default Key Mappings > Mappings > IA_Move, click on the keyboard button and configure your desired keys

Close everything and voilà!

I hope this helps someone, and don’t hesitate to correct me if I’m wrong!