JoystickAxesSelect Parameter
Default Value: 0
Minimum Value: 0
Maximum Value: None
Units: None
Type: int
IMPORTANT: The joystick buttons are edge sensitive. The digital input state will transition on the rising edge of the signal.
The JoystickAxesSelect and JoystickSpeedSelect parameters specify which digital inputs are connected to the joystick buttons. Joystick Button A, Joystick Button B, and Joystick Button C are considered pressed as defined by the digital input states of the JoystickAxesSelect and JoystickSpeedSelect parameters as shown in the table that follows.
Table: Inputs and Button Settings
Parameter |
Digital Input State |
Button Activated (Pressed) |
---|---|---|
JoystickAxesSelect JoystickSpeedSelect |
ON OFF |
Joystick Button A is considered pressed when the digital inputs change to this state. |
JoystickAxesSelect JoystickSpeedSelect |
OFF ON |
Joystick Button B is considered pressed when the digital inputs change to this state. |
JoystickAxesSelect JoystickSpeedSelect |
ON ON |
Joystick Button C is considered pressed when the digital inputs change to this state. |
Use Joystick Button A to change between axis pairs as defined by the JoystickAxisGroupAdd() function. Use Joystick Button B to change between axis speeds as specified by the JoystickLowSpeed Parameter and the JoystickHighSpeed Parameter. Use Joystick Button C to cancel or deactivate the joystick.
Table: Joystick Inputs and Descriptions
Setting |
Description |
|
---|---|---|
Input Type |
This setting specifies the input type that is used. Select an input type based on your system configuration.
|
|
Axis Index |
This setting specifies which axis is used for input. The default axis is 0 (typically Axis X). This setting does not apply if you select Virtual Binary as the Input Type. |
|
Input Number |
This setting specifies which input is used. The input number is zero-based. The default value is input zero. |