소스 검색

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

dash 6 년 전
부모
커밋
4ef98bad2a
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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