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