isXander / Controlify

Another controller mod - for fabric!
https://www.isxander.dev/mods/controlify
GNU Lesser General Public License v3.0
135 stars 27 forks source link

[Bug] Dualsense gyro not working on linux #194

Open Garbg opened 9 months ago

Garbg commented 9 months ago

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

Operating System

Linux/SteamOS

ARM

Additional Information

No response

Just to make sure...

Garbg commented 9 months ago

It also doesn't work with USB

isXander commented 9 months ago

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

Garbg commented 9 months ago

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

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

Hunkarada commented 6 months ago

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

Hunkarada commented 6 months ago

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 commented 6 months ago

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

isXander commented 6 months ago

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.