X_cal = a*X_raw + b*Y_raw + c Y_cal = d*X_raw + e*Y_raw + f Solved via least squares from known display points.
The driver must implement the to act as a HID transport. kmdf hid minidriver for touch i2c device calibration