Class GenericJoystickController
  
  
  
  
    Inheritance
    
    
    GenericJoystickController
      
   
  
  
  
  Assembly: cs.temp.dll.dll
  
  
    public class GenericJoystickController : BaseController, IMixedRealityController
   
  Constructors
  
  
  
  
  
  
  
  Declaration
  
    public GenericJoystickController(TrackingState trackingState, Handedness controllerHandedness, IMixedRealityInputSource inputSource = null, MixedRealityInteractionMapping[] interactions = null)
   
  Parameters
  
  Fields
  
  
  
  
  
  
  Declaration
  
    protected MixedRealityPose CurrentControllerPose
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | MixedRealityPose | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    protected Vector3 CurrentControllerPosition
   
  Field Value
  
  
  
  
  
  
  Declaration
  
    protected Quaternion CurrentControllerRotation
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | Quaternion | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    protected MixedRealityPose LastControllerPose
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | MixedRealityPose | 
         | 
      
    
  
  Properties
  
  
  
  
  
  The pointer's offset angle.
 
  
  Declaration
  
    public float PointerOffsetAngle { get; protected set; }
   
  Property Value
  
  Methods
  
  
  
  
  
  Assign the default interactions based on controller handedness if necessary.
 
  
  Declaration
  
    public override void SetupDefaultInteractions(Handedness controllerHandedness)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Handedness | 
        controllerHandedness | 
         | 
      
    
  
  Overrides
  
  
  
  
  
  Update an Interaction Bool data type from a Bool input
 
  
  Declaration
  
    protected void UpdateButtonData(MixedRealityInteractionMapping interactionMapping)
   
  Parameters
  
  
  
  
  
  
  
  Update the controller data from Unity's Input Manager
 
  
  Declaration
  
    public virtual void UpdateController()
   
  
  
  
  
  Update the Touchpad / Thumbstick input from the device (in OpenVR, touchpad and thumbstick are the same input control)
 
  
  Declaration
  
    protected void UpdateDualAxisData(MixedRealityInteractionMapping interactionMapping)
   
  Parameters
  
  
  
  
  
  Update Spatial Pointer Data.
 
  
  Declaration
  
    protected void UpdatePoseData(MixedRealityInteractionMapping interactionMapping)
   
  Parameters
  
  
  
  
  
  Update an Interaction Float data type from a SingleAxis (float) input
 
  
  Declaration
  
    protected void UpdateSingleAxisData(MixedRealityInteractionMapping interactionMapping)
   
  Parameters
  
  
  
  Implements