Table of Contents

Class ControllerButtonEventArgs

Namespace
Fantas.Input
Assembly
Fantas.dll

Event data when button is pressed/released

public class ControllerButtonEventArgs : EventArgs
Inheritance
ControllerButtonEventArgs
Inherited Members

Constructors

ControllerButtonEventArgs(ControllerButtons, int)

Initialize ControllerButtonEventArgs

public ControllerButtonEventArgs(ControllerButtons button, int controllerIndex)

Parameters

button ControllerButtons
controllerIndex int

Properties

Button

Controller Button

public ControllerButtons Button { get; }

Property Value

ControllerButtons

ControllerIndex

Controller Index

public int ControllerIndex { get; set; }

Property Value

int