Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9b66f5d

Browse files
committed
Added HID_REPORT_TYPE definitions
1 parent 71c88b6 commit 9b66f5d

File tree

1 file changed

+5
-0
lines changed
  • hardware/arduino/avr/libraries/HID

1 file changed

+5
-0
lines changed

‎hardware/arduino/avr/libraries/HID/HID.h‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@
5454
#define HID_BOOT_PROTOCOL 0
5555
#define HID_REPORT_PROTOCOL 1
5656

57+
// HID Request Type HID1.11 Page 51 7.2.1 Get_Report Request
58+
#define HID_REPORT_TYPE_INPUT 1
59+
#define HID_REPORT_TYPE_OUTPUT 2
60+
#define HID_REPORT_TYPE_FEATURE 3
61+
5762
typedef struct
5863
{
5964
uint8_t len; // 9

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /