protonscr

Thrustmaster ESWAP X PRO Controller being seen as Generic Gamepad

steamopen Distro Family: UbuntuGeneral controller / Steam Input
ValveSoftware/steam-for-linux#8664 · opened 2022-07-02 by TinMan1325 · updated 2022-07-02 · 4 comments · github
TTinMan1325 2022-07-02 github

Your system information

Github Gist

  • Steam client version (build number or date): No idea how to check this
  • Distribution (e.g. Ubuntu): Linux Mint 20.3
  • Opted into Steam client beta?: [Yes/No] No
  • Have you checked for system updates?: [Yes/No] Yes

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

Kkisak-valve maintainer 2022-07-02 github

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.

TTinMan1325 2022-07-02 github

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

Kkisak-valve maintainer 2022-07-02 github

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.

TTinMan1325 2022-07-02 github

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

Nothing extracted yet.