GamePadButtonEvent Class
Namespace: Stride.InputAssembly: Stride.Input.dll
An event to describe a change in gamepad button state
Derived from GamePadButtonEvent:
public class GamePadButtonEvent : ButtonEvent, IInputEventArgs
| Name | Description | |
|---|---|---|
| Fields | ||
| Button | The gamepad button identifier |
|
| Properties | ||
| GamePad | The gamepad that sent this event |
|
| Methods | ||
| ToString() | ||
Fields
Button
The gamepad button identifier
public GamePadButton Button
Field Value
| Type | Description |
|---|---|
| GamePadButton |
Properties
GamePad
The gamepad that sent this event
public IGamePadDevice GamePad { get; }
Property Value
| Type | Description |
|---|---|
| IGamePadDevice |
Methods
ToString()
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
System.Object.ToString()