Esempio n. 1
0
 /// <summary>
 /// Constructs the joystick button arguments from a joystick button event.
 /// </summary>
 /// <param name="e">Joystick button event.</param>
 public JoystickButtonEventArgs(JoystickButtonEvent e)
 {
     JoystickId = e.JoystickId;
     Button     = e.Button;
 }
Esempio n. 2
0
 ////////////////////////////////////////////////////////////
 /// <summary>
 /// Construct the joystick button arguments from a joystick button event
 /// </summary>
 /// <param name="e">Joystick button event</param>
 ////////////////////////////////////////////////////////////
 public JoystickButtonEventArgs(JoystickButtonEvent e)
 {
     JoystickId = e.JoystickId;
     Button = e.Button;
 }