Il y avait des problèmes dans la libraire...
Fork of USBDEVICE by
Diff: USBHID/USBHID_Types.h
- Branch:
- master
- Revision:
- 4:50ec00aa4515
- Parent:
- 1:2a3ae13b45ef
diff -r d9c7334e2183 -r 50ec00aa4515 USBHID/USBHID_Types.h --- a/USBHID/USBHID_Types.h Wed Feb 15 09:48:15 2017 +0100 +++ b/USBHID/USBHID_Types.h Tue Mar 28 11:00:57 2017 +0200 @@ -25,9 +25,12 @@ #define HID_VERSION_1_11 (0x0111) /* HID Class */ -#define HID_CLASS (3) -#define HID_SUBCLASS_NONE (0) -#define HID_PROTOCOL_NONE (0) +#define HID_CLASS (3) +#define HID_SUBCLASS_NONE (0) +#define HID_SUBCLASS_BOOT (1) +#define HID_PROTOCOL_NONE (0) +#define HID_PROTOCOL_KEYBOARD (1) +#define HID_PROTOCOL_MOUSE (2) /* Descriptors */ #define HID_DESCRIPTOR (33)