Calibration must survive reboots. Options:
Recommended: Implement calibration persistence in a companion user-mode Windows service. The KMDF driver remains stateless regarding persistent storage, enhancing stability. kmdf hid minidriver for touch i2c device calibration best
Create a user-mode calibration tool that: Calibration must survive reboots
After calibration, clamp coordinates to [0, DisplayWidth-1] and [0, DisplayHeight-1]. Apply a simple hysteresis filter if raw data jitters near the edges. Create a user-mode calibration tool that: After calibration,
There are two schools of thought on where to apply the math: