sc-controller
sc-controller copied to clipboard
Trigger Doesn't Output Analog Value
Using the default XBox Controller Profile, when I connect my DS4, it's not possible to emulate Analog trigger values.
As you can see bellow, User 0 is the emulated device by SC Controller and the User 1 is the actual input of the DS4 in Wine Control Panel:
Here is the output of the emulated device in EVTEST to confirm the issue is not related to Wine:
After further investigation, I found that changing the Analog Output Range Start and End to 128 and 129 resolves the problem, so it seems like the default range of 0 to 255 is causing the problem for some reason.
As a workaround, you can try setting:
axis(Axes.ABS_Z, 128, 129) for the Left Trigger Action
and
axis(Axes.ABS_RZ, 128, 129) for the Right Trigger Action
until the bug is fixed.
If you can repro it on the Python 3 fork, feel free to report this bug there too.
If you can repro it on the Python 3 fork, feel free to report this bug there too.
Yes, Unfortunately the bug is also present in the latest release of the Python 3 fork,
I will report this on the Python 3 fork repo as well.