HID using 1788
I have read HID example projects available on internet , in all
project input from HID is taking only one byte and HID out also one
byte length,
BOOL HID_GetReport (void) {
/* ReportID = SetupPacket.wValue.WB.L; */
switch (SetupPacket.wValue.WB.H) {
case HID_REPORT_INPUT:
GetInReport();
EP0Buf[0] = InReport;
break;
case HID_REPORT_OUTPUT:
return (FALSE); /* Not Supported */
case HID_REPORT_FEATURE:
/* EP0
↧