Esempio n. 1
0
 /// <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);
 }
Esempio n. 2
0
 /// <summary>
 ///   Updates the managed device states.
 /// </summary>
 public void Update()
 {
     m_last = new JoystickState(m_current);
     m_current.Update();
 }
Esempio n. 3
0
 /// <summary>
 ///   Constructor.
 /// </summary>
 public JoystickManager()
 {
     m_last    = new JoystickState();
     m_current = new JoystickState();
 }