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

Gyroscope support wrong input. #164

Open
orcavia opened this issue May 28, 2024 · 5 comments
Open

Gyroscope support wrong input. #164

orcavia opened this issue May 28, 2024 · 5 comments

Comments

@orcavia
Copy link

orcavia commented May 28, 2024

Just tried the gyro support. It's now working smoothly, but there is wrong input compared to the original DS4. In my case, I tried it in the game HFW using yaw mode gyro.

For Y aiming, it's correct, but for X aiming, you should rotate (or tilt) the Switch to get the X value, while it should be yaw to the left/right.

@XITRIX
Copy link
Owner

XITRIX commented May 29, 2024

Thanks for feedback, I'll check it

@orcavia
Copy link
Author

orcavia commented May 29, 2024

you might be confused with my english 😅
so i made this simple animation that might help
wrong
Expected

@orcavia
Copy link
Author

orcavia commented May 31, 2024

EDIT:
I think your current implementation it's already correct for docked mode.

But for handheld mode it's feel strange when aiming for X axis
Since the controller faced vertically unlike in docked mode which holds the controller faced horizontally.

For comparison try NS games that support gyro like Splatoon in handheld mode and then play PC games that support gyro on Moonlight.
You will see the difference in how gyro (especially X value) work.

@XITRIX
Copy link
Owner

XITRIX commented May 31, 2024

That's the best explanation of the problem I've ever saw :D

Thanks a lot, I understood what's the problem from the very beginning, I'll try to check it when I'll have time

@XITRIX
Copy link
Owner

XITRIX commented Aug 3, 2024

Just checked it with Steam gyro calibration, looks like it works the same as Dual Sense controller (at least from steam calibration screen perspective)

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