DIOBJECTCALIBRATION structure (dinputd.h)

The DIOBJECTCALIBRATION structure describes the information contained in the "Calibration" value of the registry key for each axis on a device.

Syntax

typedef struct DIOBJECTCALIBRATION {
  LONG lMin;
  LONG lCenter;
  LONG lMax;
} DIOBJECTCALIBRATION, *LPDIOBJECTCALIBRATION;

Members

lMin

Specifies the logical value for the axis minimum position.

lCenter

Specifies the logical value for the axis center position.

lMax

Specifies the logical value for the axis maximum position.

Remarks

If the "Calibration" value is absent, then the calibration information is taken from the joystick JOYREGHWVALUES configuration structure.

Only HID joysticks have a "Calibration" value.

Requirements

Requirement Value
Header dinputd.h (include Dinputd.h)