atar-axis / xpadneo

Advanced Linux Driver for Xbox One Wireless Controller (shipped with Xbox One S)
https://atar-axis.github.io/xpadneo/
GNU General Public License v3.0
1.98k stars 112 forks source link

Support gyro on 8BitDo Pro 2 #376

Open Yasand123 opened 2 years ago

Yasand123 commented 2 years ago

Version of xpadneo

v0.9-121-g727a84f

Controller Model

Connection mode

Describe your feature request

Is your feature request related to a problem? Please describe. Gyro does not work under Linux. There's a workaround, which is to disable the kernel module hid_nintendo as it interferes with Switch 3rd party controllers such as 8BitDo Pro 2. However that workaround barely works. I tried CEMU under Wine, Steam, Ryujinx as well as Dolphin emulator and they do not recognize motion inputs regardless of which API I choose. Only exception being Yuzu and it has to be connected via USB (I'm not sure why). I'm not sure what Yuzu does differently.

Controller is set to S (Switch mode).

Describe the solution you'd like For Gyro inputs to be recognized by the system and applications properly.

Describe alternatives you've considered I think I tried some suggested solution in the past but I can't remember what it was. I apologize for that. It didn't work anyway as it outputs Seems like hid_nintendo is not loaded. Load it with 'sudo modprobe hid_nintendo'. And the module is disabled on purpose.

Additional context In case it's relevant, I'm on Arch Linux.

kakra commented 2 years ago

xpadneo does not support controllers in Switch mode. And I'm guessing the gyro won't be exposed by the interface if the controller is in Xbox mode.

kakra commented 1 year ago

The GuliKit controllers also have a gyro, and such a controller has been donated. I'll look into supporting these types of controllers in Switch mode but this won't happen during v0.10 (tho I may start working on it).