ValveSoftware / steam-for-linux

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

Steam creates a "microsoft x-box 360 pad" joystick when it detect my Hori mini4 controller #7277

Open SimonCoulombe opened 4 years ago

SimonCoulombe commented 4 years ago

Steam

Your system information

Please describe your issue in as much detail as possible:

My hori mini4 controlled ( a wired usb ps4 controller clone for kids) is detected by Steam. I have been able to play Stardew valley for a day and was pretty happy about it.

Today, the controller is still detected, but the mapping is off. I have to press the "square" button instead of the "x" button to select menu items, and the mouse cursor is always moving "up" and "left" when the game starts.

I have noticed the game says "config loaded: gamepad with camera controls". I have also noticed that jstest-gtk show a single controller on /dev/input/js0 (the hori mini4) when I boot into kubuntu, but a second controller is added named "Microsoft X-Box 360 pad" on /dev/input/js1 when steam is started.

Steps for reproducing this issue:

I am not sure this is enough for reproducing, but I have done the following, among other things. sudo nano /lib/udev/rules.d/60-steam-input.rules add

KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="00ee", MODE="0660", TAG+="uaccess" then

sudo udevadm control --reload-rules
sudo udevadm trigger

I have tried installing and uninstalling sudo apt-get install xboxdrv , but the problem persists.

When I quit Steam, the phantom xbox controller disappears. When I unplug the controller, both the mini4 controller and the xbox controller disappear.

ryester19 commented 4 years ago

Do you have Xbox Configuration Support enabled in the controller settings? In the game properties, have you tried setting "Steam Input Per-Game Setting" to forced off?

SimonCoulombe commented 4 years ago

Hi! Thanks for replying!

I have tried both with and without "xbox configuratioin support enabled" I am not sure which is desirable, given that my controller is a third party ps4 controller.

I also tried "Steam Input Per-Game Setting" to forced off. It always creates the xbox controller copy.

Should xboxdrv be installed or not?

My current setting is : "xboxdrv uninstalled" , "guide button focuses steam ON", "playstastion configuration support on". The ps4 controller is detected. In stardew valley setting "Steam Input Per-Game Setting" if "Forced OFF" , which leads the "manage game -- controller configuration" to complain that "playstation 4 configuration support" is not enabled when I visit that setting in "big picture mode".

Note: the joystick work fine when navigating the menu in big picture mode.

The joystick sends input into the game (Stardew valley) but they are all messed up and the cursor is always moving up-left, as if I was pushing the right analog stick in that direction.

The worst thing is that ut was initially working fine.

edit: the "ghost" xbox 360 pad is still showing in jstest-gtk"

tuxtergames commented 4 years ago

I discoverd an issue here with my joysticks, I have one Ipega 9069 bluetooth controller and a PS3 bluetooth controller too, both works well in my Fedora desktop but when I open Steam Client its creating "microsoft x-box 360 pad" for each controller I have, in this case two phantom controllers, I try to uncheck x360 support in joystick configs for all but its still happen, one friend have the same issue there and we don't find answers for it yet....

image

image here I have my controller Ipega connecting under bluetooth and PS3 controller charging under USB

image and here both with coneected by bluetooth.

I'll really apreciate if someone can help me with this issue....