cohtml.Net.GamepadState
On this page
Represents the entire state of a single gamepad
Public Attributes
| Name | |
|---|---|
| uint | Id The unique identifier of an already registered gamepad. |
| float [] | AxisValues An array of values between 0 and 1 showing how much each button is pressed. Its length must be equal to the number of buttons passed to RegisterGamepad. |
| float [] | ButtonValues An array of values between -1 and 1 showing the position of each axis. Its length must be equal to the number of axes passed to RegisterGamepad |
Public Attributes Documentation
variable Id
uint Id;
The unique identifier of an already registered gamepad.
variable AxisValues
float [] AxisValues;
An array of values between 0 and 1 showing how much each button is pressed. Its length must be equal to the number of buttons passed to RegisterGamepad.
variable ButtonValues
float [] ButtonValues;
An array of values between -1 and 1 showing the position of each axis. Its length must be equal to the number of axes passed to RegisterGamepad