diff options
author | Dmitry Filimonchuk <dmitrystu@gmail.com> | 2020-05-10 03:54:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-10 03:54:26 +0300 |
commit | de402958b68a11d637e0c4785bc3d1031dec2ee5 (patch) | |
tree | 4052ad2f32eed6aee9318f9621d30f20ff04ceb5 | |
parent | 5067e1387a0db060d8529dbcd312e1dc3f46bce3 (diff) | |
parent | 4ef98bad2ad6b92536008e9927ec3b1c40c9f296 (diff) |
Merge pull request #57 from horrordash/master
fix HID report types (according USB HID 1.11 specification p.7.2.1)
-rw-r--r-- | inc/usb_hid.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/usb_hid.h b/inc/usb_hid.h index 5aa312c..3212bd9 100644 --- a/inc/usb_hid.h +++ b/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 |