C# Class SFML.Window.JoystickButtonEventArgs

Joystick buttons event parameters
Inheritance: System.EventArgs
Show file Open project: SFML/SFML.Net Class Usage Examples

Public Properties

Property Type Description
Button uint
JoystickId uint

Public Methods

Method Description
JoystickButtonEventArgs ( JoystickButtonEvent e ) : System

Construct the joystick button arguments from a joystick button event

ToString ( ) : string

Provide a string describing the object

Method Details

JoystickButtonEventArgs() public method

Construct the joystick button arguments from a joystick button event
public JoystickButtonEventArgs ( JoystickButtonEvent e ) : System
e JoystickButtonEvent Joystick button event
return System

ToString() public method

Provide a string describing the object
public ToString ( ) : string
return string

Property Details

Button public property

Index of the button
public uint Button
return uint

JoystickId public property

Index of the joystick which triggered the event
public uint JoystickId
return uint