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

Set axeThreshold Not work #26

Open
dalter opened this issue Mar 4, 2021 · 2 comments
Open

Set axeThreshold Not work #26

dalter opened this issue Mar 4, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@dalter
Copy link

dalter commented Mar 4, 2021

Hi, I tried to change axeThreshold as it is said in the documentation
gameControl.set('axeThreshold', 0.5);
In console log i see the axeThreshold is set to 0.5, but analogs stop work (i use xbox one and PS4 controllers)
If i change axeThreshold:[0.5] var manually inside the library , its work fine

@alvaromontoro alvaromontoro added the bug Something isn't working label Mar 4, 2021
@alvaromontoro alvaromontoro self-assigned this Mar 4, 2021
@alvaromontoro
Copy link
Owner

I'll check this over the weekend.

@Hypercubed
Copy link

Hypercubed commented Mar 12, 2023

I know this is very old.. but...

I belive the issue is gameControl.set('axeThreshold', XXX); only acceps a number where as gamepad.axeThreshold needs to be an array for each axis.

gamepad.axeThreshold = [XXX, XXX] works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants