B Technical Appendix
1. ID number (id, starting with 0), quality value (qu, see below) and the number of
available buttons and controllers (nbt and nct).
2. Position of the Flystick (s
i
).
3. Orientation of the Flystick, given as rotation matrix (b
i
, like standard bodies).
4. Status of buttons (bt
i
, see below) and controllers (ct
i
, see below).
• The quality (qu) can (so far) just get the values 1.000 or −1.000. −1.000 means that
the target of the Flystick is not visible at the moment. Even in that case a Flystick
appears in the output data. Then dummy values are used for position (zero) and
orientation (zero matrix!). Informations about buttons and controllers are valid as
long as the wireless transmission is active.
• When buttons of the Flysticks are pressed the (decimal) numbers bt
i
change. They
are coded binary (i.e. switch 1 activated = bit 0 set, switch 2 activated = bit 1 set,
. . . ) with a maximum of 32 buttons per bt
i
number.
Z
Note that the number of bt
i
numbers in the block can vary with dif-
ferent Flystick hardware! If the device isn’t equipped with buttons,
the output won’t contain any bt
i
number!
• Controller elements are transferred into floating point numbers ct
i
, reaching from
−1.00 to 1.00. In the output line they follow the button informations (one number for
each controller).
Z
Note that the number of ct
i
numbers in the block can vary with
different Flystick hardware! If the device isn’t equipped with con-
troller elements, the output won’t contain any ct
i
number!
Example (one line) for two devices, one Flystick2 (ID 0) and one Flystick1 (ID 1):
6df2 2 2 [0 1.000 6 2][-228.992 270.818 92.561][0.758006 -0.652230 0.004807 -0.651759
-0.757133 0.044271 -0.025236 -0.036691 -0.999008][5 0.13 -1.00] [1 -1.000 4 2][0.000
0.000 0.000][0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000][1 1.00 0.00]
B.2.6 Flysticks (Old Format)
Identifier 6df.
Z
Note: supported just for compatibility. It is recommended to use the
newer Flystick format 6df2 (see chapter B.2.5 on page 261) whenever
possible.
i
Refer to chapter B.1.5.2 on page 254 to find out which buttons of the
Flystick2 are NOT transmitted when using the old output format 6df.
This older format for Flysticks is quite similar to the format of standard 6DOF bodies:
262