Steam for Linux

Steam for Linux

Stauricus Aug 1, 2019 @ 10:36am
Joystick is crazy in games
hello everybody
i'm having a tough time trying to play games with a generic joystick.
in Big Picture all buttons matches the description and configs. but as soon as i enter the game, it becomes sort of crazy. examples:

- Project Zomboid remap some buttons and inverts the axis of all sticks (even if i try to invert it inside the game or in big picture, it is ignored and keeps inverted)
- Don't Starve remap all buttons and seems to keep an axis constantly pulled to the right (and i still couldn't discover which one is)
- Windward simply ignore everything but the left stick

aand it works perfectly when i run these same games on windows. so the joystick itself is not the problem :(
of course the analog button is pressed (to turn on the analog sticks).
also i have no problems playing with a mouse and keyboard.

some of my system specs are:
-Debian Bullseye (Testing)
-Kernel: Linux 4.19.0-5-amd64 (x86_64)
-Version: #1 SMP Debian 4.19.37-6 (2019-07-18)

-Processor: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
-4GB Ram
-Intel(R) HD Graphics 620

-Microntek USB Joystick (DragonRise Inc. PC TWIN SHOCK Gamepad)

any help is apreciated. thanks in advance!
< >
Showing 1-8 of 8 comments
ripper81 Aug 1, 2019 @ 12:38pm 
Gamecontroller support on linux is not the same story as on windows. If you have a Steamcontroller or an Xbox 360 compatible Controller you should be fine in most cases. Every other device will cause problems in one way or another. You can try to calibrate your gamepad or use the steam controller overlay to get your device to work. If you wan't something that just works
go and get yourself hardware with good linuxsupport.
Marlock Aug 1, 2019 @ 4:18pm 
There is a lot of controller errors that "SC Controller" can fix, at least for some people:
https://github.com/kozec/sc-controller

edit:
I keep forgetting, at least for Ubuntu there is a steam-devices package too, that is known to fix several issues too.

I believe it exists with the same name for Debian, but even if it doesn't, it is somewhat trivial to install (basically udev rules to copy to a folder):
https://github.com/ValveSoftware/steam-devices
Last edited by Marlock; Aug 1, 2019 @ 5:32pm
Stauricus Aug 2, 2019 @ 5:22am 
hii, thanks for the answers! I was finally able to find a workaround for it, after probably two months :steamfacepalm:

Originally posted by ripper81:
Gamecontroller support on linux is not the same story as on windows. If you have a Steamcontroller or an Xbox 360 compatible Controller you should be fine in most cases. Every other device will cause problems in one way or another. You can try to calibrate your gamepad or use the steam controller overlay to get your device to work. If you wan't something that just works
go and get yourself hardware with good linuxsupport.
thats kind of what i did. I used xboxdvr to emulate a xbox controller.

Originally posted by Marlock:
There is a lot of controller errors that "SC Controller" can fix, at least for some people:
https://github.com/kozec/sc-controller

edit:
I keep forgetting, at least for Ubuntu there is a steam-devices package too, that is known to fix several issues too.

I believe it exists with the same name for Debian, but even if it doesn't, it is somewhat trivial to install (basically udev rules to copy to a folder):
https://github.com/ValveSoftware/steam-devices
i already had steam-devices package installed.... SC controller is a nice addition, tough

well, here's what I did:
  1. Followed these instructions to clean all controllers configurations:
    Originally posted by Space_:
    THIS! I had a similar problem and with the combination of this post and what I had figured out so far a was able to delete e reconfigure my GENERIC controller. I am not sure but it may work for the Steam controler.

    1- Steam - settings - account - beta participation- change to: steam beta update
    In the meantime and before restarting steam I did. (Not sure if beta is required)

    BACKUP BEFORE DELETING IS ADVISED
    You may delete configurations and preferences from ALL your controllers.

    2- Find: \Steam\userdata\-YOUR USER NUMBER-\241100\remote - Deleted everything, including the remotecache in the directory before
    3- Steam\userdata\----------\config\controller_configs\personalization - Deleted everything.
    4- \Steam\userdata\----------\config\controller_configs\apps - Deleted everything.
    5- Open steam - big picture - settings - controller settings - uncheck your target box - connect controller and see if steam recognises it - disconnect - check box - connect and by this point it sould give you option like is a new controller.
  2. then installed xboxdvr and followed these instructions on how to configure it to emulate a xbox controller. in my case, to start xboxdvr, I use:
    xboxdrv --evdev /dev/input/event17 --evdev-absmap ABS_X=x1,ABS_Y=y1,ABS_Z=x2,ABS_RZ=y2,ABS_HAT0X=dpad_x,ABS_HAT0Y=dpad_y --axismap -Y1=Y1,-Y2=Y2 --evdev-keymap BTN_TOP=x,BTN_TRIGGER=y,BTN_THUMB2=a,BTN_THUMB=b,BTN_BASE3=back,BTN_BASE4=start,BTN_BASE=lt,BTN_BASE2=rt,BTN_TOP2=lb,BTN_PINKIE=rb,BTN_BASE5=tl,BTN_BASE6=tr --mimic-xpad --silent &
  3. and for last, I just entered steam controllers configuration screen and turned everything off, except for default xbox controller configuration.

now it works like a charm! thanks everybody.
Last edited by Stauricus; Aug 2, 2019 @ 5:25am
Marlock Aug 2, 2019 @ 5:27am 
Was xboxdrv already installed when the issue got noticed?

If so, i believe your issue may have to do with xboxdrv conflicting with steam's (and/or some games') own implementation of controller support
Stauricus Aug 2, 2019 @ 6:08am 
no, I installed it trying to solve the problem
but i believe the issue is some kind of conflict between steam AND the games, each one trying to own the controller
Sumé Linux Aug 2, 2019 @ 6:14am 
When i got these kind of problems just go to properties > Steam imput per game and set ‘forced off'.

That's all. Nothing more is
necessary. I have two controllers: Xbox One S Controller and a Multilaser Generic Controller.

:thumbalift:
Last edited by Sumé Linux; Aug 2, 2019 @ 6:14am
Stauricus Aug 2, 2019 @ 12:40pm 
weird. i tried this after your reply, but did not work either :p
Sumé Linux Aug 2, 2019 @ 3:46pm 
Try purge xboxdrv and sc-controller. Then just install joystick and jstest-gtk. Open jstest and see if controller is recognized. Then try 'forced off'' in steam game.
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Aug 1, 2019 @ 10:36am
Posts: 8