From 205b35d131a1cc8196786de4370cb90fec17835e Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Wed, 2 Sep 2009 07:16:52 +0000 Subject: 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. --- Demos/Host/LowLevel/MouseHostWithParser/HIDReport.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Demos/Host/LowLevel/MouseHostWithParser/HIDReport.h') diff --git a/Demos/Host/LowLevel/MouseHostWithParser/HIDReport.h b/Demos/Host/LowLevel/MouseHostWithParser/HIDReport.h index f5429f0a9..ae6871c57 100644 --- a/Demos/Host/LowLevel/MouseHostWithParser/HIDReport.h +++ b/Demos/Host/LowLevel/MouseHostWithParser/HIDReport.h @@ -86,4 +86,6 @@ /* Function Prototypes: */ uint8_t GetHIDReportData(void); + bool CALLBACK_HIDParser_FilterHIDReportItem(HID_ReportItem_Attributes_t* CurrentItemAttributes); + #endif -- cgit v1.2.3