Immerseum.VRSimulator Namespace > SteamVRButton Class : deviceRelation Field |
Indicates which SteamVR input device the Input Axis is associated with.
Best Practice | |
Because of the interchangability / swappability of position-tracked SteamVR input devices like the HTC Wands/Vive Controllers, this field is used to identify a specific device based on its position relative to the HMD. |
public SteamVR_Controller.DeviceRelation deviceRelation
A value from the SteamVR_Controller.DeviceRelation enum indicating which SteamVR input device to use for this Input Axis. Accepts the following values:
Be careful! Because of a combination of legacy and ambiguous coding in the SteamVR plugin, it is recommended to use FarthestLeft and FarthestRight in place of Leftmost and Rightmost. Unexpected behaviors will likely result if you use Leftmost or Rightmost. |