Controlify icon indicating copy to clipboard operation
Controlify copied to clipboard

[Bug] Dualsense gyro not working on linux

Open leofleeo opened this issue 2 years ago • 7 comments
trafficstars

Current Behaviour

When I attempt to enable gyro on linux, it says it is not supported, but it is, since it's a dualsense and it works in other games.

Expected Behaviour

I would expect the gyro feature to work

Screenshots

2023-11-20_18 07 27 2023-11-20_18 08 02

Reproduction Steps

Install the mod on a linux system Connect a dualsense controller via bluetooth (idk if it works on usb or not) Launch the game Go to the gyro section in the advanced settings and see that it says it's not supported

Logs

No response

Mod Version

1.7.0+1.20.2

Controller

Playstation dualsense

Bluetooth

  • [X] Yes

Operating System

Linux/SteamOS

ARM

  • [ ] Yes

Additional Information

No response

Just to make sure...

  • [X] I have made sure I am using the latest version of Controlify for the latest version of Minecraft.
  • [X] I have made sure there are no other issues describing the same problem on the issue tracker.

leofleeo avatar Nov 20 '23 23:11 leofleeo

It also doesn't work with USB

leofleeo avatar Nov 20 '23 23:11 leofleeo

It would be very helpful to get the latest.log for this.

isXander avatar Nov 26 '23 00:11 isXander

It would be very helpful to get the latest.log for this.

Here it is: https://mclo.gs/FxyfWS0

leofleeo avatar Nov 26 '23 00:11 leofleeo

I can confirm, same issue with natives installed, usb and bluetooth have the same problem

Hunkarada avatar Mar 02 '24 17:03 Hunkarada

just updating natives from here (https://github.com/libsdl4j/libsdl4j/releases) don't work to solve this problem (extracted native linux .so file and renamed it as previous file at the version 1.8.1 of mod)

Hunkarada avatar Mar 03 '24 08:03 Hunkarada

btw maybe it will help, in linux dualsense has it's own driver in kernel and kernel recognize it as 2 controllers. 0 is for anything else, than gyroscope, and 1st only for gyro. Screenshot_20240303_135315

Hunkarada avatar Mar 03 '24 08:03 Hunkarada

I suggest trying out the latest HD haptics test build in the discord server, which uses an updated version of SDL3 which may fix your problems.

isXander avatar Mar 09 '24 20:03 isXander