Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger Doesn't Output Analog Value #739

Open
0-ks opened this issue Aug 24, 2024 · 3 comments
Open

Trigger Doesn't Output Analog Value #739

0-ks opened this issue Aug 24, 2024 · 3 comments

Comments

@0-ks
Copy link

0-ks commented Aug 24, 2024

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:
sc-controller-trigger-bug

Here is the output of the emulated device in EVTEST to confirm the issue is not related to Wine:
sc-controller-trigger-bug-evdev

@0-ks
Copy link
Author

0-ks commented Aug 28, 2024

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.

@C0rn3j
Copy link

C0rn3j commented Sep 13, 2024

If you can repro it on the Python 3 fork, feel free to report this bug there too.

@0-ks
Copy link
Author

0-ks commented Sep 16, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants