/// <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; }
//////////////////////////////////////////////////////////// /// <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; }