JoystickStateΒΆ
-
struct
JoystickState: System.ValueType Describes current joystick state.
-
readonly bool
IsConnected Gets a value indicating whether the joystick is connected.
Value: true if the joystick is connected; otherwise, false.
-
readonly System.Single[]
Axes Gets the joystick axis values.
Value: An array list of floats that indicate axis values.
-
readonly Microsoft.Xna.Framework.Input.ButtonState[]
Buttons Gets the joystick button values.
Value: An array list of ButtonState that indicate button values.
-
readonly Microsoft.Xna.Framework.Input.JoystickHat[]
Hats Gets the joystick hat values.
Value: An array list of T:Microsoft.Xna.Framework.Input.JoystickHat that indicate hat values.
-
void
set_IsConnected(bool value) Parameters: - value (bool) –
-
void
set_Axes(System.Single[] value) Parameters: - value (System.Single[]) –
-
void
set_Buttons(Microsoft.Xna.Framework.Input.ButtonState[] value) Parameters: - value (Microsoft.Xna.Framework.Input.ButtonState[]) –
-
void
set_Hats(Microsoft.Xna.Framework.Input.JoystickHat[] value) Parameters: - value (Microsoft.Xna.Framework.Input.JoystickHat[]) –
-
readonly bool