Packages
 In this topic

*Fields

 

Packages   PreviousThis PackageNext
Package com.ms.directX   Previous This
Package
Next

 


Class JoyCaps

public final class JoyCaps
{
  // Fields
  public int caps;
  public int maxAxes;
  public int maxButtons;
  public char mid;
  public int numAxes;
  public int numButtons;
  public int periodMax;
  public int periodMin;
  public char pid;
  public int rMax;
  public int rMin;
  public int uMax;
  public int uMin;
  public int vMax;
  public int vMin;
  public int xMax;
  public int xMin;
  public int yMax;
  public int yMin;
  public int zMax;
  public int zMin;
}

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.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.