I am using STM32CubeMX to develop a USB HID touchscreen with the STM32F103C8T6 MCU.
In the HID descriptor, I must report the following feature to support multi-touch:
0x85, REPORTID_MAX_COUNT, // REPORT_ID (Feature)Which function should I use to do a USB control request as feature request?
0x09, 0x05, // USAGE(Contact Count Maximum)
0x95, 0x01, // REPORT_COUNT (1)
0x25, 0x02, // LOGICAL_MAXIMUM (2)
0xb1, 0x02, // FEATURE (Data,Var,Abs)