-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Labels
area:manualIssues and PRs related to the Manual/Tutorials section of the documentationIssues and PRs related to the Manual/Tutorials section of the documentationenhancementtopic:xrRelated to XR documentationRelated to XR documentation
Description
I'm having a lot of trouble getting stick input from oculus quest controllers. There's a get_joystick_axis method, but I've tried a bunch of different values from JoystickList, and none of them work, and the names don't match up at all with the quest 2 controller. For example, right stick horizontal matches up with with the trigger on the right controller.
edit: It seems that JOY_AXIS_0 is the horizontal axis for the right stick.
Metadata
Metadata
Assignees
Labels
area:manualIssues and PRs related to the Manual/Tutorials section of the documentationIssues and PRs related to the Manual/Tutorials section of the documentationenhancementtopic:xrRelated to XR documentationRelated to XR documentation
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
Calinou commentedon Sep 19, 2021
cc @BastiaanOlij
BastiaanOlij commentedon Sep 19, 2021
Hmm, strange, we have it documented for the other plugins but not for the quest...
It should be:
There should be no difference to the Quest 1 and Quest 2 though I do not have a Quest 2 to test with.
Are you using the Oculus mobile plugin or the OpenXR plugin?
JamesC01 commentedon Sep 19, 2021
The mobile plugin. I can confirm that the first 3 you listed work on the quest 2.
BastiaanOlij commentedon Sep 20, 2021
Cool, I think those are the only axis inputs we have, all the other inputs are boolean (buttons)