JoystickInput1 Parameter

Default Value: 0

Minimum Value: 0

Maximum Value: None

Units: None

Type: int

Use the JoystickInput1 parameter to specify the analog input that is used as the second joystick input. This input corresponds to the JoystickInput.Input1 AeroScript enumeration value, which is used with the JoystickAxisGroupAdd() function to create new axis group mappings.

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.

  • Disabled is the default. No input type is selected (no digital input is assigned).
  • Drive Analog: The signal is connected to an input on a drive.
  • Virtual Register: This is a general purpose register. To set this register from a program, use the VirtualRegisterInputSet() function. If you are using an Ethernet I/O module connected to the PC for this input, then you must select this option and write this value in a task program.

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 Register 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.