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 revisionPrevious revision
Next revision
Previous revision
commands:joystick [2019/04/18 19:33] – external edit 127.0.0.1commands:joystick [2025/09/15 17:29] (current) – remove parens from descriptions brandon
Line 1: Line 1:
 ====== Command:JOYSTICK (J) ====== ====== Command:JOYSTICK (J) ======
  
---> MS2000 or RM2000 syntax#+--> MS2000 or RM2000 syntax ^
  
 ^Shortcut  |J   |  ^Shortcut  |J   | 
 ^Format  |JOYSTICK [axis]± or \\ JOYSTICK [axis] = [Manual Input #] | ^Format  |JOYSTICK [axis]± or \\ JOYSTICK [axis] = [Manual Input #] |
-^Units    |Unitless integer , see table below|+^Units    |Integer, see table below|
 ^Remembered |Using SS Z | ^Remembered |Using SS Z |
  
 <-- <--
  
---> Tiger syntax# + 
 +--> Tiger syntax ^
  
 ^Shortcut  |J   |  ^Shortcut  |J   | 
 ^Format  |JOYSTICK [axis]± or \\ JOYSTICK [axis] = [Manual Input #] | ^Format  |JOYSTICK [axis]± or \\ JOYSTICK [axis] = [Manual Input #] |
-^Units    |Unitless integer , see table below|+^Units    |Integer, see table below|
 ^Type    |Axis-Specific  | ^Type    |Axis-Specific  |
 ^Remembered |Using [addr#]SS Z | ^Remembered |Using [addr#]SS Z |
Line 23: Line 24:
  
 == Table 1: Valid device assignments == == Table 1: Valid device assignments ==
-^Code ^Manual Input Device ^Desp ^+^Code ^Manual Input Device ^Description^
 |0 |NONE                       |                                       | |0 |NONE                       |                                       |
 |1 |DEFAULT                    |                                       | |1 |DEFAULT                    |                                       |
-|2 |Joystick – X deflection |(X-axis default)                       | +|2 |Joystick – X deflection |X-axis default                       | 
-|3 |Joystick – Y deflection  |(Y-axis default)                       | +|3 |Joystick – Y deflection  |Y-axis default                       | 
-|4 |Standard Control Knob |(Z-axis default)                       | +|4 |Standard Control Knob |Z-axis default for MS-2000           | 
-|5 |X-Wheel |(special hardware required)            |+|5 |X-Wheel |Special hardware required            |
 |6 |Y-Wheel     |:::                                    | |6 |Y-Wheel     |:::                                    |
 |7 |ADC CH1 – For ADC_FOLLOW or ADC_LOCK operation.|                    | |7 |ADC CH1 – For ADC_FOLLOW or ADC_LOCK operation.|                    |
 |8 |Foot switch               |                                        | |8 |Foot switch               |                                        |
-|9 |JX and X-wheel combo |(special hardware required)            |+|9 |JX and X-wheel combo |Special hardware required            |
 |10 |JY and Y-wheel combo |:::                                    | |10 |JY and Y-wheel combo |:::                                    |
-|11 |CRIFF knob |(used for CRIFF system)                | +|11 |CRISP knob |Used for CRISP system                | 
-|22 |Z-Wheel |(TG-1000 only, right side of joypod)   | +|22 |Z-Wheel |TG-1000 only, right side of joypod   | 
-|23 |F-Wheel |(TG-1000 only, left side of joypod)    |+|23 |F-Wheel |TG-1000 only, left side of joypod    | 
 +|100 |Add to any other code to make the setting savable with ''SS Z'' command  |    |
  
 If there are no errors, the positive reply <wrap reply> :A </wrap> will be returned from the controller If there are no errors, the positive reply <wrap reply> :A </wrap> will be returned from the controller
Line 51: Line 53:
 :A X=2 Y=3</asi> :A X=2 Y=3</asi>
  
-Here the query shows that the X & Y axes use the X & Y joystick driver. +The above query and reply shows that the X & Y axes use the X & Y joystick driver.  
 + 
 +<asi> $ J *?</asi> 
 +The above command queries all axes. 
 + 
 +<asi> $ J *</asi> 
 +The above command clears all axes from the joystick and knobs (TG-1000 only, firmware version 3.10 and later) 
  
-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.+**To set a default value that can be saved in non-volatile memory, add 100 to the argument and execute a ''SAVESET'' command.**
  
 <asi> $ J X=105 <asi> $ J X=105
 :A</asi> :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.+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? <asi> $ J X?
Line 77: Line 86:
 :A X=5</asi>  :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. +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.1555630387.txt.gz · Last modified: (external edit)