Annabell Posted December 18, 2019 Share Posted December 18, 2019 I would like to know if there is a method how to get all possible actions of the controllers (HTC vive Pro Eye) in a unity application programmatically in C#. Do you know any method how to do so? @Corvus @chengnay Link to comment Share on other sites More sharing options...
VIVE_chengnay Posted December 19, 2019 Share Posted December 19, 2019 @Annabell ViveInput.cs does provide following APIs, ViveInput.GetPress ViveInput.GetPressDown ViveInput.GetPressUp For example, ViveInput.GetPress(role, ControllerButton.Trigger); Link to comment Share on other sites More sharing options...
Annabell Posted December 20, 2019 Author Share Posted December 20, 2019 @chengnay Okay this seems to be a way how to figure out if a button was pressed, but is it also possible to figure out which action belongs to this button? Link to comment Share on other sites More sharing options...
VIVE_chengnay Posted December 23, 2019 Share Posted December 23, 2019 @Annabell What kind of action are you referring to? like teleporting? Or those actions define in SteamVR Input? Link to comment Share on other sites More sharing options...
Annabell Posted January 6, 2020 Author Share Posted January 6, 2020 @chengnay Yeah I am looking for the in actions given in your screenshot (InteractUI, Teleport, GrabPinch, GrabGrip,...) Link to comment Share on other sites More sharing options...
VIVE_chengnay Posted January 6, 2020 Share Posted January 6, 2020 @Annabell I replied you in another post, 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now