Bladeren bron

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

dash 6 jaren geleden
bovenliggende
commit
4ef98bad2a
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  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