cohtml.InputSystem.GamepadBase.GamepadMap
Stores gamepad data.
Inherited by cohtml.InputSystem.GamepadMapper
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| GamepadMap(uint id, string name, int buttonsLength, int axesLength) |
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| 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. |
Public Functions Documentation
Section titled “Public Functions Documentation”function GamepadMap
Section titled “function GamepadMap”GamepadMap( uint id, string name, int buttonsLength, int axesLength)Public Attributes Documentation
Section titled “Public Attributes Documentation”variable Id
Section titled “variable Id”uint Id;The identification of the gamepad.
variable Name
Section titled “variable Name”string Name;The name of the gamepad.
variable Buttons
Section titled “variable Buttons”float [] Buttons;An array representing the state of the gamepad buttons.
variable Axes
Section titled “variable Axes”float [] Axes;An array representing the state of the gamepad axes.
variable RegisteredInSystems
Section titled “variable RegisteredInSystems”HashSet< CohtmlUISystem > RegisteredInSystems;A collection storing the CohtmlUISystem’s that registered this gamepad.
© 2026 Coherent Labs. All rights reserved.