Procházet zdrojové kódy

fix HID report types (according USB HID 1.11 specification p.7.2.1)

dash před 6 roky
rodič
revize
4ef98bad2a
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      inc/usb_hid.h

+ 3 - 3
inc/usb_hid.h

@@ -66,9 +66,9 @@
 #define USB_HID_PROTO_MOUSE         0x02    /**<\brief Mouse boot protocol.*/
 /** @} */
 
-#define USB_HID_REPORT_IN           0x00    /**<\brief Indicates that the item is an IN report type.*/
-#define USB_HID_REPORT_OUT          0x01    /**<\brief Indicates that the item is an OUT report type.*/
-#define USB_HID_REPORT_FEATURE      0x02    /**<\brief Indicates that the item is a FEATURE report type.*/
+#define USB_HID_REPORT_IN           0x01    /**<\brief Indicates that the item is an IN report type.*/
+#define USB_HID_REPORT_OUT          0x02    /**<\brief Indicates that the item is an OUT report type.*/
+#define USB_HID_REPORT_FEATURE      0x03    /**<\brief Indicates that the item is a FEATURE report type.*/
 
 
 /**\name USB HID class-specified requests