Jump to content

Oculus Touch controller thumbsticks


Maaco
 Share

Go to solution Solved by Josh,

Recommended Posts

I would like to retrieve and use the input of the Oculus touch controller thumbsticks (in LUA) if possible at all (in VR seated mode) I can acces all buttons but in the API reference I can only find (minimal) info on ‘Vec2 GetControllerAxis’. Does anyone have an example on using thumbsticks (or touchpad) input? Thx Maaco

Link to comment
Share on other sites

  • Solution

https://www.leadwerks.com/learn?page=API-Reference_Object_VR_GetControllerAxis

Syntax

  • Vec2 GetControllerAxis(number index, number button)

Parameters

  • index: The index of the controller, either Left or Right.
  • button: The button to retrieve the axis value for. This can be TouchpadAxis, TriggerAxis, or GripAxis.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...