User Tools

Site Tools


commands:joystick

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
commands:joystick [2016/09/07 22:03]
asiadmin ↷ Page moved from documentation:commands:joystick to commands:joystick
commands:joystick [2019/04/18 23:33] (current)
Line 1: Line 1:
 +====== 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 <wrap reply> :A </​wrap>​ will be returned from the controller
 +
 +== Example ==
 +
 +<asi> $ J X+ Y+ Z-
 +:​A</​asi>​
 +
 +The above command enables the default X and Y joystick control and disables the Z control knob.
 +
 +<asi> $ J X? Y?
 +:A X=2 Y=3</​asi>​
 +
 +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 nonvolatile 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.
 +
 +<asi> $ J X=105
 +:​A</​asi>​
 +
 +This makes X-Wheel the default X axis manual control device. This is a setting that can be saved with the''​ SAVESET''​ command.
 +
 +<asi> $ 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</​asi> ​
 +
 +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.
 +
 +
 +
 +
 +
 +
 +{{tag>​commands tiger ms2000}}
commands/joystick.txt · Last modified: 2019/04/18 23:33 (external edit)