User Tools

Site Tools


commands:joystick

Command:JOYSTICK (J)

MS2000 or RM2000 syntax
Shortcut J
Format JOYSTICK [axis]± or
JOYSTICK [axis] = [Manual Input #]
Units Unitless integer , see table below
Remembered Using SS Z
Tiger syntax
Shortcut J
Format JOYSTICK [axis]± or
JOYSTICK [axis] = [Manual Input #]
Units Unitless integer , see table below
Type Axis-Specific
Remembered Using [addr#]SS Z

This command enables (+) or disables (–) the input from the default manual control device for the axis (joystick or knob). If you specify an input device number dev, the axis specified will be connected to that input device

Table 1: Valid device assignments
Code Manual Input Device Desp
0 NONE
1 DEFAULT
2 Joystick – X deflection (X-axis default)
3 Joystick – Y deflection (Y-axis default)
4 Standard Control Knob (Z-axis default)
5 X-Wheel (special hardware required)
6 Y-Wheel
7 ADC CH1 – For ADC_FOLLOW or ADC_LOCK operation.
8 Foot switch
9 JX and X-wheel combo (special hardware required)
10 JY and Y-wheel combo
11 CRIFF knob (used for CRIFF system)
22 Z-Wheel (TG-1000 only, right side of joypod)
23 F-Wheel (TG-1000 only, left side of joypod)

If there are no errors, the positive reply :A will be returned from the controller

Example
J X+ Y+ Z-
:A

The above command enables the default X and Y joystick control and disables the Z control knob.

J X? Y?
:A X=2 Y=3

Here the query shows that the X & Y axes use the X & Y joystick driver.

To set a default value that can be saved in non-volatile memory, add 100 to the argument. Note that doing so only enables you to save the setting to nonvolatile memory, but you must execute a SAVESET command to do so.

J X=105
:A

This makes X-Wheel the default X axis manual control device. This is a setting that can be saved with the SAVESET command.

J X?
:A X=2 
J X=1
:A 
RESET
J X?
:A X=2
J X=105
:A 
J X?
:A X=5 
1SS Z		
:A 
RESET
J X?
:A X=5

In this session, the default manual input device is changed to X-Wheel. Sets the manual input device to whatever the default value is, which is now X-Wheel (5). Saves the settings. After the reset , the manual input device is set on startup its new saved default value, X-Wheel.

Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/joystick.txt · Last modified: 2019/07/11 18:11 by vik