The core of your KMDF HID minidriver is the EvtIoRead callback. Each time the I2C device raises an interrupt (via GPIO), you read a HID Input Report containing raw touch coordinates.

If the minidriver is correctly installed but touch points are misaligned, follow these steps to use the native Windows calibration tool: