File tree 2 files changed +6
-0
lines changed
Filter options
2 files changed +6
-0
lines changed
Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ class Serial_ : public arduino::HardwareSerial, arduino::PluggableUSBModule
117
117
operator bool ();
118
118
119
119
size_t readBytes (char *buffer, size_t length);
120
+ size_t readBytes ( uint8_t *buffer, size_t length) { return readBytes ((char *)buffer, length); }
120
121
121
122
// This method allows processing "SEND_BREAK" requests sent by
122
123
// the USB host. Those requests indicate that the host wants to
Original file line number Diff line number Diff line change 54
54
#define HID_BOOT_PROTOCOL 0
55
55
#define HID_REPORT_PROTOCOL 1
56
56
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
+
57
62
typedef struct
58
63
{
59
64
uint8_t len; // 9
You can’t perform that action at this time.
0 commit comments