A KMDF HID minidriver typically interfaces with mshidkmdf.sys . For I2C devices, the driver communicates via the SPB (Simple Peripheral Bus) request interface.
Use a temporal filter. Do not report a "Tip Switch" (finger down) until the signal remains stable for at least two consecutive I2C read cycles. kmdf hid minidriver for touch i2c device calibration best
The driver receives this in EvtIoDeviceControl . It signals the hardware to enter "Calibration Mode." A KMDF HID minidriver typically interfaces with mshidkmdf
The user-mode application sends a IOCTL_HID_SET_FEATURE . kmdf hid minidriver for touch i2c device calibration best