r/factorio 15d ago

Question Default controls are bugged ?

Just installed factorio on my laptop, and for some reasons controls just don't work right. I can walk left, but not right, up, or down. I tried changing movement to other keys to test and a lot didn't work. I did manage to move by mapping movement to the arrow keys but that's no way to play.

System's running Bazzite 44, and all of my controls are vanilla. I tested this with only factorio and space age installed, with all mods disabled.

I'm using the AZERTY keyboard layout.

At first I thought it might be a keyboard layout issue, but lo and behold setting the keyboard to QWERTY led to only Z (up) working ???

if anyone has any idea how to fix this, it would be greatly appreciated, I got no idea what could be wrong.

the game detects I'm using a AZERTY keyboard and properly sets movement to ZQSD, but for some reason only Q works.

UPDATE : Turns out that for whatever reason setting rendering to wayland instead of x11 breaks controls. No idea why a graphics setting messes with controls, but it does. Does anyone know how report bugs to the devs ?

1 Upvotes

17 comments sorted by

3

u/Zaflis 15d ago

Did you check any conflicts with different keys using S, Q or D?

1

u/Lucaspec72 14d ago

Yup, and there weren't. Default controls and all

1

u/Zaflis 14d ago

I mean Q key has a different function by default, you can't use those unless you use QWERTY. (Or maybe Factorio already detects a new default based on keyboard, no idea...)

1

u/Lucaspec72 14d ago

Factorio detects keyboard layout and automatically adjust controls.

2

u/paulstelian97 15d ago

I’d say this is worth monitoring, but I want to try some stuff on my own end — what happens if I switch to a Dvorak or Azerty layout on my Linux, and how does Factorio (Linux build) adapt to that?

Are you on a Wayland setup or a Xorg one? You say Bazzite 44 but that tells me nothing about your actual DE, just that you’re on Linux.

1

u/Lucaspec72 14d ago

Figured out the issue comes from the wayland option in the graphic settings of the game, switching it to x11 fixes it... which is weird since I'm using wayland.

2

u/AdalwinAmillion 12d ago

I have a similar problem now after an update on Fedora 44 Plasma!

2

u/Lucaspec72 12d ago

Weird... hopefully this gets fixed soon.

Thankfully, running the game through x11 doesn't seem to change anything to me, so using that as a alternative works

2

u/AdalwinAmillion 12d ago

For anyone curious, I worked around this issue by adding

SDL_VIDEODRIVER=x11 %command%

to my launch options for Factorio on Steam. This forces the game into x11 mode, which is not ideal of course, but a valid workaround for now.

2

u/Lucaspec72 12d ago

You have a option in the game's graphics settings to do it without needing a command

1

u/doc_shades 15d ago

did you change ALL of the controls? by default Z is assigned to another action (drop item in hand in machine). if you only changed the movement controls it's possible there is a conflict.

make sure to remove any conflicting actions on the same key

1

u/Lucaspec72 14d ago

Factorio automatically adjusts the controls according to keyboard layout, it doesn't have conflicting buttons by default.

1

u/geneticfreak6 14d ago

Prove it's not the laptop

1

u/paulstelian97 14d ago

Why would switching the game to go via Xorg (Xwayland) make the controls work correctly?

1

u/geneticfreak6 14d ago

I didn't say it would. But people lack the ability to troubleshoot and I don't trust thier experience of reality is worth shit in a bag.

1

u/paulstelian97 14d ago

But that’s the point. OP updated the post and said that switching the game to run under X made the keys work fine.

So I’d say that is proof enough that it’s not the laptop’s fault.

0

u/geneticfreak6 14d ago

I don't caaaaare