public static bool GetKey(InputType type, InputKey key) { switch (type) { case InputType.LeftWand: case InputType.RightWand: if (ThreeGlassesManager.joyPad[(int)type] == null) { return(false); } return(ThreeGlassesManager.joyPad[(int)type].GetKey(key)); case InputType.HMD: return(ThreeGlassesManager.GetHmdKey(key)); } return(false); }
// get hmd touchpad public static Vector2 GetHMDTouchPad() { return(ThreeGlassesManager.GetHmdTouchPad()); }