/// <summary> /// Copy constructor. /// </summary> /// <param name="man"> /// The manager to copy. /// </param> public JoystickManager(JoystickManager man) { m_last = new JoystickState(man.m_last); m_current = new JoystickState(man.m_current); }
/// <summary> /// Updates the managed device states. /// </summary> public void Update() { m_last = new JoystickState(m_current); m_current.Update(); }
/// <summary> /// Constructor. /// </summary> public JoystickManager() { m_last = new JoystickState(); m_current = new JoystickState(); }