Define a custom IOCTL in your header:
In your KMDF driver, implement a EvtIoDeviceControl callback: kmdf hid minidriver for touch i2c device calibration
// Indicate this is a HID minidriver WdfDeviceInitSetDeviceType(DeviceInit, FILE_DEVICE_KEYBOARD); // Or appropriate type // Set up power management for I2C wake WdfDeviceInitSetPowerPolicyOwnership(DeviceInit, FALSE); Define a custom IOCTL in your header: In