Преглед на файлове

Merge pull request #57 from horrordash/master

fix HID report types (according USB HID 1.11 specification p.7.2.1)
Dmitry Filimonchuk преди 6 години
родител
ревизия
de402958b6
променени са 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