
8 GCS Commands
164
Version: 1.2.1
MS249E
C-863.12 Mercury Controller
JBS? (Query Joystick Button Status)
Description:
Queries the current status of the specified button of the
specified joystick connected to the controller.
Format:
JBS? [{<JoystickID> <JoystickButton>}]
Arguments:
<JoystickID> is one joystick connected to the controller;
see below for details.
<JoystickButton> is one of the buttons of the joystick; see
below for details.
Response:
{<JoystickID> <JoystickButton> "="<State>}
where
<State> indicates if the joystick button is pressed; 0 = not
pressed, 1 = pressed.
Notes:
A joystick can be connected to the
Joystick
(p. 268) socket
of the C-863.12, the identifier is 1. The C-863.12 supports
one button of the joystick, the identifier of the joystick
button is 1. Refer also to "Commandable Elements" (p. 12).
JDT (Set Joystick Default Lookup Table)
Description:
Sets lookup table type for the specified axis of the specified
joystick connected to the controller.
The current valid lookup-table content for the specified
joystick axis is overwritten by the selection made with JDT.
Format:
JDT {<JoystickID> <JoystickAxis> <uint>}
Arguments:
<JoystickID> is one joystick connected to the controller;
see below for details.
<JoystickAxis> is one of the axes of the joystick; see below
for details.
<uint> defines the type of lookup-table profile to use; see
below for details.
Response:
none