This message is sent to set calibration information for the driver. The driver should use the calibration values to map the physical device coordinates to the logical coordinate range established by the driver.
LPARAM lParam1
Specifies a far pointer to a JOYCALIBRATE structure containing the new calibration values to adopt.
LPARAM lParam2
Specifies a far pointer to a JOYCALIBRATE structure. The driver should fill this structure with the existing calibration values.
Return MMSYSERR_NOERROR.
The calibration settings consist of base and delta values for each coordinate. The base value represents the lowest logical value the driver returns; the delta value is the multiplier to use when converting the actual value returned by the device to a logical value appropriate for the established value range.