r/swaywm•
Inimposter

How can I adjust deadzones (or other config fields) for my gamepad?

Question

Hello, all! Apparently Sway (or rather, wayland, going by previous posts on the sub) doesn't manage gamepad input.

Indeed sudo libinput list-devices provides no gamepads.

So how do I use the archwiki's instructions to adjust gamepad on wayland?

For X11, it'd have been to make or edit/etc/X11/xorg.conf.d/51-joystick.conf and adding/adjusting

Section "InputClass"
    Option "MapAxis1" "deadzone=1000"
EndSection

Sauce.

Now, that's libinput's config, AFAIK.

Could someone point me in the direction of a solution?

Posted Apr 16, 2024, 5:29 PM UTC

11

Comments aren't archived yet

This post had 1 comment on Reddit. Comments for this period haven't been loaded into the archive yet.