Microsoft SDK for Java

JoyCaps Class Fields

The JoyCaps Class contains the following fields.

caps Joystick capabilities. These may be one of the following:

JOYCAPS_HASPOV

The joystick has Point-Of-View information.

JOYCAPS_HASR

The joystick has rudder (fourth axis) information.

JOYCAPS_HASU

The joystick has u-coordinate information.

JOYCAPS_HASV

The joystick has v-coordinate information.

JOYCAPS_HASZ

The joystick has z-coordinate information

JOYCAPS_POV4DIR

The joystick Point-Of-View supports discrete values.

JOYCAPS_POVCTS

The joystick Point-Of-View supports continuous degree bearings.

maxAxes The maximum number of axes supported by the joystick.
maxButtons The maximum number of buttons a joystick supports.
mid Manufacturer identifier.
numAxes The number of axes currently supported by the joystick.
numButtons The current number of joystick buttons in use.
periodMax The maximum polling frequency supported once an application has captured a joystick.
periodMin The minumim polling frequency supported once an application has captured a joystick.
pid Product identifier.
rMax Maximum r-axis (the fourth, or rudder-axis) coordinate.
rMin Minimum r-axis (the fourth, or rudder-axis) coordinate.
uMax Maximum u-axis (fifth axis) coordinate.
uMin Minimum u-axis (fifth axis) coordinate.
vMax Maximum v-axis (sixth axis) coordinate.
vMin Minimum v-axis (sixth axis) coordinate.
xMax Maximum x-axis coordinate.
xMin Minimum x-axis coordinate.
yMax Maximum y-axis coordinate.
yMin Minimum y-axis coordinate.
zMax Maximum z-axis coordinate.
zMin Minimum z-axis coordinate.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.