JDD_SETCALIBRATION

JDD_SETCALIBRATION
lpJoyCalibrate1 = (LPJOYCALIBRATE) lParam1; 
lpJoyCalibrate2 = (LPJOYCALIBRATE) lParam2; 
 

Sets the calibration information for the driver.

lpJoyCalibrate1
Address of a JOYCALIBRATE structure containing new calibration values to adopt.
lpJoyCalibrate2
Address of a JOYCALIBRATE structure. The driver should fill this structure with the existing calibration values.

The driver should use the calibration values referenced by lpJoyCalibrate1 to map the physical device coordinates to the logical coordinate range established by the driver.

See Also

JOYCALIBRATE