JoystickCapabilitiesΒΆ
-
struct
JoystickCapabilities
: System.ValueType Describes joystick capabilities.
-
readonly bool
IsConnected
Gets a value indicating whether the joystick is connected.
Value: true if the joystick is connected; otherwise, false.
-
readonly string
Id
Gets the unique identifier of the joystick.
Value: String representing the unique identifier of the joystick.
-
readonly int
AxisCount
Gets the axis count.
Value: The number of axes that the joystick possesses.
-
readonly int
ButtonCount
Gets the button count.
Value: The number of buttons that the joystick possesses.
-
readonly int
HatCount
Gets the hat count.
Value: The number of hats/dpads that the joystick possesses.
-
void
set_IsConnected
(bool value) Parameters: - value (bool) –
-
void
set_Id
(string value) Parameters: - value (string) –
-
void
set_AxisCount
(int value) Parameters: - value (int) –
-
void
set_ButtonCount
(int value) Parameters: - value (int) –
-
void
set_HatCount
(int value) Parameters: - value (int) –
-
readonly bool