Skip to content

Conversation

@Artyom17
Copy link

Just recently hit that issue: different browsers may report different number of buttons (and theoretically - axes) for the same controllers (even though the order of those, obviously, must be correct). If the number of expected buttons is greater than the number of buttons actually reported then VRController throws an exception (in line 187).
For safety reasons I am adding if check for buttons and axes.

…xpected buttons/axes is greater than the actual buttons / axes reported by the browser.
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.

1 participant