Oculus Go virtual mapping
C#
// returns true if the primary button (typically “A”) is currently pressed.
OVRInput.Get(OVRInput.Button.One);
// returns true if the primary button (typically “A”) was pressed this frame.
OVRInput.GetDown(OVRInput.Button.One);
// returns true if the “X” button was released this frame.
OVRInput.GetUp(OVRInput.RawButton.X);
// returns a Vector2 of the primary (typically the Left) thumbstick’s current state.
// (X/Y range of -1.0f to 1.0f)
OVRInput.Get(OVRInput.Axis2D.PrimaryThumbstick);
// returns true if the primary thumbstick is currently pressed (clicked as a button)
OVRInput.Get(OVRInput.Button.PrimaryThumbstick);
// returns true if the primary thumbstick has been moved upwards more than halfway.
// (Up/Down/Left/Right - Interpret the thumbstick as a D-pad).
OVRInput.Get(OVRInput.Button.PrimaryThumbstickUp);
// returns a float of the secondary (typically the Right) index finger trigger’s current state.
// (range of 0.0f to 1.0f)
OVRInput.Get(OVRInput.Axis1D.SecondaryIndexTrigger);
// returns a float of the left index finger trigger’s current state.
// (range of 0.0f to 1.0f)
OVRInput.Get(OVRInput.RawAxis1D.LIndexTrigger);
// returns true if the left index finger trigger has been pressed more than halfway.
// (Interpret the trigger as a button).
OVRInput.Get(OVRInput.RawButton.LIndexTrigger);
// returns true if the secondary gamepad button, typically “B”, is currently touched by the user.
OVRInput.Get(OVRInput.Touch.Two);
Also in C#:
- Title
- how to start an if statement in c#
- Category
- C#
- Title
- unity how to make jump script
- Category
- C#
- Title
- C# previous method
- Category
- C#
- Title
- unity get all by tag
- Category
- C#
- Title
- c# remove from list in foreach
- Category
- C#
- Title
- c# mathf.ceiling
- Category
- C#
- Title
- microsoft input tool need .net framework
- Category
- C#
- Title
- percentage in c#
- Category
- C#
- Title
- how to make a for loop in c#
- Category
- C#
- Title
- divide string in chunks c#
- Category
- C#
- Title
- get last element of array c#
- Category
- C#
- Title
- appsettings in console application c#
- Category
- C#
- Title
- how to add a componet to a gameobject throgh code unity
- Category
- C#
- Title
- can't add an editor script
- Category
- C#
- Title
- c# repeat string x times
- Category
- C#
- Title
- c# bool list count true
- Category
- C#
- Title
- unity remove parent
- Category
- C#
- Title
- how to print statement in c#
- Category
- C#
- Title
- exception handling c#
- Category
- C#
- Title
- c# get desktop path
- Category
- C#
- Title
- c# read all text from a file
- Category
- C#
- Title
- c# inheritance constructor
- Category
- C#
- Title
- c# foreach arra
- Category
- C#
- Title
- c# shorten an method
- Category
- C#
- Title
- how to add array to list in c#
- Category
- C#
- Title
- c# find duplicates in list
- Category
- C#
- Title
- find negative version of integer in c#
- Category
- C#
- Title
- degree to radians c#
- Category
- C#
- Title
- c# download file
- Category
- C#
- Title
- print gridcontrol devexpress
- Category
- C#
- Title
- xamarin forms alarm
- Category
- C#
- Title
- Category
- C#
- Title
- escape double quotes c#
- Category
- C#
- Title
- sticky footer bootstrap 3
- Category
- C#
- Title
- C# check many strings quickly
- Category
- C#
- Title
- unity cast int to float
- Category
- C#
- Title
- mongodb c# batch find
- Category
- C#
- Title
- How do i destroy a prefab without the error?
- Category
- C#
- Title
- select a whole row out of a 2d array C#
- Category
- C#
- Title
- Unity how to put IEnumerator in update and loop once with yeild return new waitforseconds
- Category
- C#
- Title
- how can convert string to int csharp
- Category
- C#
- Title
- set current date to textbox in asp.net
- Category
- C#
- Title
- no overload for 'useItemOnSceneLoad' matches delegate 'UnityAction<Scene, LoadSceneMode>'
- Category
- C#
- Title
- c# string code ascii
- Category
- C#
- Title
- unity 2d enemy field of view
- Category
- C#
- Title
- functions unity
- Category
- C#
- Title
- verifyusertokenasync password reset token
- Category
- C#
- Title
- unity to integer
- Category
- C#
- Title
- how to make a pause feautre in unity
- Category
- C#
- Title
- how to declare a string c#
- Category
- C#
- Title
- invalidoperationexception c# ui thread
- Category
- C#
- Title
- isprime c#
- Category
- C#
- Title
- query associative table ef6
- Category
- C#
- Title
- c# shorten an definition
- Category
- C#
- Title
- unity movetowards 2d
- Category
- C#
- Title
- c# AllowSynchronousIO to true
- Category
- C#
- Title
- csharp datetime string format
- Category
- C#
- Title
- unity round
- Category
- C#
- Title
- bash if null or empty
- Category
- C#
- Title
- scaffold-dbcontext sql server
- Category
- C#
- Title
- how to make pressing enter an event in c#
- Category
- C#
- Title
- webclient c# example post
- Category
- C#
- Title
- populate combobox from array c#
- Category
- C#
- Title
- c# ?
- Category
- C#
- Title
- javascript append
- Category
- C#
- Title
- list clone - C#
- Category
- C#
- Title
- asp.net get query string parameter
- Category
- C#
- Title
- c# empty IEnumerable
- Category
- C#
- Title
- c# how to exit program
- Category
- C#
- Title
- How to solve error in ExecuteNonQuery() in asp.net
- Category
- C#
- Title
- how to chagne rotation in unity
- Category
- C#
- Title
- c# tab character
- Category
- C#
- Title
- c# timespan
- Category
- C#
- Title
- json stringify c#
- Category
- C#
- Title
- and unity
- Category
- C#
- Title
- C# colours
- Category
- C#
- Title
- what data type should be for contact number in asp.net
- Category
- C#
- Title
- c# keyboard enter
- Category
- C#
- Title
- how to get joypad axis input unity
- Category
- C#
- Title
- c# listview
- Category
- C#
- Title
- c# get hwid
- Category
- C#
- Title
- xarray: create 2d dataset
- Category
- C#
- Title
- c# check if string is in array
- Category
- C#
- Title
- change sprite of gameobject unity
- Category
- C#
- Title
- c# is not equal to
- Category
- C#
- Title
- C# resize window without title bar
- Category
- C#
- Title
- bytes size c#
- Category
- C#
- Title
- center an image horizontally and vertically
- Category
- C#
- Title
- parsing string to int without format exception c#
- Category
- C#
- Title
- unity list length
- Category
- C#
- Title
- c# check if string is only letters and numbers
- Category
- C#
- Title
- isInstanceOf nunit
- Category
- C#
- Title
- asp.net mvc 5 codefirst dropdown list
- Category
- C#
- Title
- JavaScriptSerializer() and convert to base64
- Category
- C#
- Title
- how to make infinite loop in c#
- Category
- C#
- Title
- add row count devepxress report
- Category
- C#
- Title
- c sharp split by newline
- Category
- C#
- Title
- move towards target unity
- Category
- C#
- Title
- c# inline initialize dictionary
- Category
- C#
- Title
- how to reduce garbage collection c#
- Category
- C#