Class GamepadButtonEventArgs
Arguments for game pad button event
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: EmptyKeys.UserInterface.Input
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class GamepadButtonEventArgs : GamepadEventArgs
Constructors
GamepadButtonEventArgs(GamepadInput, GamePadStateBase, Double, RoutedEvent)
Initializes a new instance of the GamepadButtonEventArgs class.
Declaration
public GamepadButtonEventArgs(GamepadInput button, GamePadStateBase state, double timestamp, RoutedEvent routedEvent)
Parameters
Type | Name | Description |
---|---|---|
GamepadInput | button | The button. |
EmptyKeys.UserInterface.Input.GamePadStateBase | state | The state. |
System.Double | timestamp | The timestamp. |
RoutedEvent | routedEvent | The routed event. |
GamepadButtonEventArgs(GamepadInput, GamePadStateBase, Double, RoutedEvent, Object)
Initializes a new instance of the GamepadButtonEventArgs class.
Declaration
public GamepadButtonEventArgs(GamepadInput button, GamePadStateBase state, double timestamp, RoutedEvent routedEvent, object source)
Parameters
Type | Name | Description |
---|---|---|
GamepadInput | button | The button. |
EmptyKeys.UserInterface.Input.GamePadStateBase | state | The state. |
System.Double | timestamp | The timestamp. |
RoutedEvent | routedEvent | The routed event. |
System.Object | source | The source. |
Properties
ChangeButton
Gets the change button.
Declaration
public GamepadInput ChangeButton { get; }
Property Value
Type | Description |
---|---|
GamepadInput | The change button. |
InputListener
Gets or sets the input listener.
Declaration
public ButtonInputListener InputListener { get; set; }
Property Value
Type | Description |
---|---|
ButtonInputListener | The input listener. |
Methods
InvokeEventHandler(Delegate, Object)
Invokes the event handler.
Declaration
protected override void InvokeEventHandler(Delegate handler, object target)
Parameters
Type | Name | Description |
---|---|---|
System.Delegate | handler | The handler. |
System.Object | target | The target. |