switch (eventType) case CALIBRATION_EVENT_USER_INPUT: // Handle user input during calibration break; case CALIBRATION_EVENT_DEVICE_NOTIFICATION: // Handle device notifications during calibration break;
Never poll the I2C bus. Use the EvtInterruptIsr to trigger a work item or a DPC (Deferred Procedure Call) to process the touch data. kmdf hid minidriver for touch i2c device calibration best
Just let me know what you need!