Class GamepadMoveEventArgs
Arguments for game pad move 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 GamepadMoveEventArgs : GamepadEventArgs
Constructors
GamepadMoveEventArgs(GamepadInput, PointF, GamePadStateBase, Double, RoutedEvent)
Initializes a new instance of the GamepadMoveEventArgs class.
Declaration
public GamepadMoveEventArgs(GamepadInput input, PointF move, GamePadStateBase state, double timestamp, RoutedEvent routedEvent)
Parameters
| Type | Name | Description |
|---|---|---|
| GamepadInput | input | The input. |
| EmptyKeys.UserInterface.PointF | move | The move. |
| EmptyKeys.UserInterface.Input.GamePadStateBase | state | The state. |
| System.Double | timestamp | The time stamp. |
| RoutedEvent | routedEvent | The routed event. |
GamepadMoveEventArgs(GamepadInput, PointF, GamePadStateBase, Double, RoutedEvent, Object)
Initializes a new instance of the GamepadMoveEventArgs class.
Declaration
public GamepadMoveEventArgs(GamepadInput input, PointF move, GamePadStateBase state, double timestamp, RoutedEvent routedEvent, object source)
Parameters
| Type | Name | Description |
|---|---|---|
| GamepadInput | input | The input. |
| EmptyKeys.UserInterface.PointF | move | The move. |
| EmptyKeys.UserInterface.Input.GamePadStateBase | state | The state. |
| System.Double | timestamp | The time stamp. |
| RoutedEvent | routedEvent | The routed event. |
| System.Object | source | The source. |
Properties
InputListener
Gets or sets the input listener. This is used for DPad only to support repeat.
Declaration
public GamepadDPadInputListener InputListener { get; set; }
Property Value
| Type | Description |
|---|---|
| GamepadDPadInputListener | The input listener. |
MoveInput
Gets the move input.
Declaration
public GamepadInput MoveInput { get; }
Property Value
| Type | Description |
|---|---|
| GamepadInput | The move input. |
MoveVector
Gets the move vector.
Declaration
public PointF MoveVector { get; }
Property Value
| Type | Description |
|---|---|
| EmptyKeys.UserInterface.PointF | The move vector. |
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. |