ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.22k stars 174 forks source link

Thrustmaster ESWAP X PRO Controller being seen as Generic Gamepad #8664

Open TinMan1325 opened 2 years ago

TinMan1325 commented 2 years ago

Your system information

Github Gist

Please describe your issue in as much detail as possible:

My Thrustmaster ESWAP X PRO Controller (for Xbox Series X|S, Xbox One and PC (Windows 10)) is being seen as a Generic Gamepad in Linux but it's seen as an Xbox One controller in Windows At first the controller wasn't registering at all, lights didn't turn on either. Then I installed xone and the controller worked but it's not being seen as an Xbox controller This is an issue because some games don't show Xbox button prompts, instead numbers are shown, and the mapping is all messed up

Side note: In my system info it shows the controller as an Xbox One pad under Battery and also says the battery is at 50%. I have no idea why, it's a wired controller, it doesn't have a battery

Also, my Hyperkin Duke Wired Controller for Xbox One/ Windows 10 PC works just fine. I think it even worked without having to install any drivers, I can't remember

Steps for reproducing this issue:

  1. Plug in controller
  2. Install xone
  3. Go into Controller Settings in BPM

First image is Linux, second is Windows lin Untitled

kisak-valve commented 2 years ago

Hello @TinMan1325, are you able to figure out what usb id your controller uses with lsusb from usbutils? After that, please disable xone and test if adding a udev line for your controller with something like https://github.com/ValveSoftware/steam-devices/pull/30/files to /lib/udev/rules.d/60-steam-input.rules has an effect. I expect that ATTRS{idProduct} will be different.

You might need to reload udev's rulse, or more simply, restart the system for changes to that file to have an effect.

TinMan1325 commented 2 years ago

Ok I removed xone

Typing lsusb in the terminal gave me this Bus 001 Device 003: ID 044f:d012 ThrustMaster, Inc. eSwap PRO Controller Xbox Next from the terminal I put sudo xed /lib/udev/rules.d/60-steam-input.rules and added this at the bottom

# Thrustmaster eSwap Pro
KERNEL=="hidraw*", ATTRS{idVendor}=="044f", ATTRS{idProduct}=="d012", MODE="0660", TAG+="uaccess"

I saved it and now I'm going to reboot

Edit: I rebooted my computer but Steam doesn't recognize the controller at all now. The lights on it don't turn on at all now either

kisak-valve commented 2 years ago

Thanks for checking. I think that libSDL needs to be taught about this controller. Feel free to report this to https://github.com/libsdl-org/SDL/issues so that it's also tracked closer to the upstream devs.

TinMan1325 commented 2 years ago

Thanks for checking, I think that libSDL needs to be taught about this controller. Feel free to report this to https://github.com/libsdl-org/SDL/issues so that it's also tracked closer to the upstream devs.

Ok thanks