We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26a9808 commit 61ea246Copy full SHA for 61ea246
libraries/HID/src/HID.h
@@ -96,7 +96,8 @@ class HID_ : public PluggableUSBModule
96
int SendReport(uint8_t id, const void* data, int len);
97
void AppendDescriptor(HIDSubDescriptor* node);
98
uint8_t getKeyboardLedsStatus(void);
99
-
+ void setKeyboardLedsStatusReportCallback(void (*callback) (void) );
100
+
101
protected:
102
// Implementation of the PluggableUSBModule
103
int getInterface(uint8_t* interfaceCount);
@@ -113,6 +114,7 @@ class HID_ : public PluggableUSBModule
113
114
uint8_t protocol;
115
uint8_t idle;
116
uint8_t _keyboardLedsStatus;
117
+ void (*keyboardLedsStatusReportCallback) (void);
118
};
119
120
// Replacement for global singleton.
0 commit comments