Skip to content
SiteEmail

cohtml.InputSystem.GamepadBase.GamepadMap

Stores gamepad data.

Inherited by cohtml.InputSystem.GamepadMapper

Name
GamepadMap(uint id, string name, int buttonsLength, int axesLength)
Name
uintId
The identification of the gamepad.
stringName
The name of the gamepad.
float []Buttons
An array representing the state of the gamepad buttons.
float []Axes
An array representing the state of the gamepad axes.
HashSet< CohtmlUISystem >RegisteredInSystems
A collection storing the CohtmlUISystem’s that registered this gamepad.
GamepadMap(
uint id,
string name,
int buttonsLength,
int axesLength
)
uint Id;

The identification of the gamepad.

string Name;

The name of the gamepad.

float [] Buttons;

An array representing the state of the gamepad buttons.

float [] Axes;

An array representing the state of the gamepad axes.

HashSet< CohtmlUISystem > RegisteredInSystems;

A collection storing the CohtmlUISystem’s that registered this gamepad.