GameControllerButtonEvent Class
Namespace: Stride.InputAssembly: Stride.Input.dll
An event to describe a change in game controller button state
Derived from GameControllerButtonEvent:
public class GameControllerButtonEvent : ButtonEvent, IInputEventArgs
Name | Description | |
---|---|---|
Fields | ||
Index | The index of the button |
|
Properties | ||
GameController | The game controller that sent this event |
|
Methods | ||
ToString() |
Fields
Index
The index of the button
public int Index
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
GameController
The game controller that sent this event
public IGameControllerDevice GameController { get; }
Property Value
Type | Description |
---|---|
IGameControllerDevice |
Methods
ToString()
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()