In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
-axis(-ax) |
int |
 |
|
Specifies the axis number of the channel. All children have
their axis number determined by their parent's axis number and the
width of the parent channel. If this flag is not used, the order of
the channel determines the axis number. |
|
-channel(-c) |
string |
 |
|
After a -create is started, channels may be added to the device
definition. The channel string wil be the name of the channel being
added to the device. The -channel flag must also be accompanied by
the -usage flag and optionally by the -axis flag. |
|
-clear(-cl) |
|
 |
|
The -clear option will end a device definition and throw away
any defined channels. |
|
-create(-cr) |
|
 |
|
Start defining a virtual device. If a device is currently being
defined, the -create flag will produce an error. |
|
-device(-d) |
string |
 |
|
The -device flag ends the device definition. All of the
channels between the -create flag and the -device flag are added to
the specified device. If that device already exists, the command
will fail and the device should be redefined with another device
name. To see the currently defined devices, use the
listInputDevices command. The -device flag is also used with
-undefine to undefine a virtual device. |
|
-parent(-p) |
string |
 |
|
Specified the parent channel of the channel being defined. If
the channel does not exist, or is an incompatible type, the command
will fail. |
|
-undefine(-u) |
|
 |
|
Undefines the device specified with the -device flag. |
|
-usage(-use) |
string |
 |
|
The -usage option is required for every -channel flag. It
describes what usage type the defined channel is. The usage types
are:
unknown |
scalar |
pos |
rot |
posRot |
quaternion |
posQuaternion |
rotXYZ |
rotYZX |
rotZXY |
rotXZY |
rotYXZ |
rotZYX |
posRotXYZ |
posRotYZX |
posRotZXY |
posRotXZY |
posRotXZY |
posRotZYX |
posX |
posY |
posZ |
rotX |
rotY |
rotZ |
|
|