Ensure calibration data isn't lost when the device enters D3 (sleep). Re-initialize your transformation matrix during EvtDeviceD0Entry .
Store these in your for use in the I2C read-completion routine. 4. On-the-Fly Calibration (Dynamic) kmdf hid minidriver for touch i2c device calibration
Keep your calibration math fast. Use fixed-point arithmetic instead of floating-point to avoid performance hits in the kernel. Ensure calibration data isn't lost when the device
Matching the digital range of the touch IC (e.g., 0-4095) to the display resolution. 0-4095) to the display resolution.