User`s guide
Joystick Input
9-5
Output Port Value Description
Axes Vector of doubles in the range <
-1; 1 >
Outputs correspond to the
current position of the joystick
in the given axis. Values are
normalized to range from -1 to 1.
Buttons Vector of doubles
0 — Button released
1 — Button pressed
Outputs correspond to the
current status of joystick buttons.
Point of view -1 — Selector inactive
<0; 360> — The angle of the
POV selector, in degrees
Output corresponds to the
current status of the joystick
point-of-view selector.
Input Port Value Description
Force Vector of doubles
in the range
< -1; 1 >
Port active only for force-feedback
devices. Inputs correspond to the
force to be applied in the given
axis.
Usually, not all of the device axes
have force-feedback. The size of
the Force vector is then smaller
than the Axes vector size.