C# Class SFML.Window.JoystickButtonEventArgs

Joystick buttons event parameters
Inheritance: System.EventArgs
ファイルを表示 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_oe property

Index of the button
public uint Button
return uint

JoystickId public_oe property

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