
7 Operation
90
Version: 1.2.1
MS249E
C-863.12 Mercury Controller
7.6.2
Commands and Parameters for Joystick Control
Commands
The following commands are available for the use of the joystick:
Command Syntax
Function
JON
JON {<JoystickID> <uint>}
Activates or deactivates a joystick connected to
the controller.
JON?
JON? [{<JoystickID>}]
Gets the activation state of the joystick.
JAX
JAX <JoystickID> <JoystickAxis>
<AxisID>
Specifies the axis that is controlled by a joystick
connected to the controller.
JAX?
JAX? [{<JoystickID>
<JoystickAxis>}]
Gets the axis that is controlled by a joystick
connected to the controller.
JAS?
JAS? [{<JoystickID>
<JoystickAxis>}]
Gets the current state of a joystick axis
(displacement).
JBS?
JBS? [{<JoystickID>
<JoystickButton>}]
Gets the current state of a joystick button
(pressed or not pressed).
JDT
JDT {<JoystickID> <JoystickAxis>
<uint>}
Specifies a default lookup table type for a
joystick axis.
JLT
JLT <JoystickID> <JoystickAxis>
<Addr> <floatn>
Fills the lookup table for a joystick axis with
custom values.
JLT?
JLT? [<StartPoint>
<NumberOfPoints>
[{<JoystickID> <JoystickAxis>}]]
Gets the current valid lookup table values.
Parameters
The following parameters are available for the use of the joystick:
Parameters
Description and possible values
Invert Direction Of
Motion For Joystick-
Controlled Axis?
0x61
Specifies the direction of motion for joystick-controlled axes.
0 = direction of motion not inverted (default setting)
1 = direction of motion inverted