diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-09-02 07:16:52 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-09-02 07:16:52 +0000 |
commit | 205b35d131a1cc8196786de4370cb90fec17835e (patch) | |
tree | e7b8e03e03a3f8fafa8a19997547a4772674d1a9 /Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.h | |
parent | ecf7c18cf24a10df8d843c8f7c195d803e073330 (diff) | |
download | lufa-205b35d131a1cc8196786de4370cb90fec17835e.tar.gz lufa-205b35d131a1cc8196786de4370cb90fec17835e.tar.bz2 lufa-205b35d131a1cc8196786de4370cb90fec17835e.zip |
Add user-filtering to the HID report parser, so that the user code can decide which items are to be stored into the HID_ReportInfo_t structure and which should be discarded to save on RAM usage.
Diffstat (limited to 'Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.h')
-rw-r--r-- | Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.h b/Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.h index a141ffb8c..974cf72c7 100644 --- a/Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.h +++ b/Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.h @@ -76,5 +76,7 @@ /* Function Prototypes: */
uint8_t GetHIDReportData(void);
+
+ bool CALLBACK_HIDParser_FilterHIDReportItem(HID_ReportItem_Attributes_t* CurrentItemAttributes);
#endif
|