Add new functions to the HID host class driver, refine HID interface protocol matching.
Remove stray state variable from the CDC host class driver.
This commit is contained in:
parent
a2001ac1cc
commit
c86491af8b
9 changed files with 80 additions and 22 deletions
|
@ -47,7 +47,6 @@ USB_ClassInfo_HID_Host_t Mouse_HID_Interface =
|
|||
.DataINPipeNumber = 1,
|
||||
.DataOUTPipeNumber = 2,
|
||||
|
||||
.MatchInterfaceProtocol = true,
|
||||
.HIDInterfaceProtocol = 0x02,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
#include <LUFA/Drivers/Peripheral/SerialStream.h>
|
||||
#include <LUFA/Drivers/Board/LEDs.h>
|
||||
#include <LUFA/Drivers/USB/USB.h>
|
||||
#include <LUFA/Drivers/USB/Class/Host/HID.h>
|
||||
#include <LUFA/Drivers/USB/Class/HID.h>
|
||||
|
||||
/* Macros: */
|
||||
/** LED mask for the library LED driver, to indicate that the USB interface is not ready. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue