Valve.VR.EVRButtonId ReturnSteamVRButtons(SteamVRButtons theButton)
    {
        switch (theButton)
        {
        case SteamVRButtons.Trigger:
            return(Valve.VR.EVRButtonId.k_EButton_SteamVR_Trigger);

        case SteamVRButtons.Grip:
            return(Valve.VR.EVRButtonId.k_EButton_Grip);

        case SteamVRButtons.TouchPad:
            return(Valve.VR.EVRButtonId.k_EButton_SteamVR_Touchpad);

        case SteamVRButtons.ApplicationMenu:
            return(Valve.VR.EVRButtonId.k_EButton_ApplicationMenu);

        case SteamVRButtons.None:
            return(Valve.VR.EVRButtonId.k_EButton_A);    //Returning A Button for None

        //case SteamVRButtons.:
        //    return Valve.VR.EVRButtonId.k_EButton_ApplicationMenu;
        default:
            return(Valve.VR.EVRButtonId.k_EButton_SteamVR_Trigger);
        }
    }
 void Awake()
 {
     if (RotationMode == eRotationMode.QuickRotate || RotationMode == eRotationMode.SlowRotate)
     {
         Debug.Log("Quick Rotate || Slow Rotate Enabled TouchPad may override other buttons");
         RotateButton = SteamVRButtons.TouchPad;
     }
     if (RotationMode == eRotationMode.SlowRotate && fadeRotate == true)
     {
         Debug.Log("SlowRotate Does not work with Fade disabling");
         fadeRotate = false;
     }
     if (selectedController == null)
     {
         selectedController = trackedObj.transform;
     }
     Invoke("HideAllVisuals", .2f);
     if (fadeRotate || fadeTeleport)
     {
         if (!myFade)
         {
             Debug.Log("MyFade Not Assigned Disabling Fade toggles");
             fadeRotate   = false;
             fadeTeleport = false;
         }
     }
     MoveButtonH     = ReturnSteamVRButtons(MoveButton);
     RotateButtonH   = ReturnSteamVRButtons(RotateButton);
     TeleportButtonH = ReturnSteamVRButtons(TeleportButton);
     BlinkButtonH    = ReturnSteamVRButtons(BlinkButton);
 }