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

Fix vibration detection #1076

Merged
merged 2 commits into from
Dec 27, 2023

Conversation

LostVector
Copy link
Contributor

The main fix here is that on my Mac Studio, vibrationActuator is null, not undefined. So using the type accessor against that variable causes an exception. Simple fix to check for both. I also just submitted a similar fix to the related xbox-xcloud-player repo.

Also fixes a typo in phrasing. "active it" to "activate it".

Rest is cosmetic multiline formatting cleanup and cleanup of some variables that are reused over and over again.

@LostVector
Copy link
Contributor Author

This appears to be fixing the same issue as #813 as well.

@unknownskl
Copy link
Owner

Thanks! Lets get this merged :)

@unknownskl unknownskl merged commit 1cb09f1 into unknownskl:main-v2 Dec 27, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants