projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change HID report parser so that it can calculate and record the sizes (IN, OUT and...
[pub/USBasp.git]
/
Demos
/
Host
/
LowLevel
/
KeyboardHostWithParser
/
HIDReport.h
diff --git
a/Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.h
b/Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.h
index
2096887
..
974cf72
100644
(file)
--- a/
Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.h
+++ b/
Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.h
@@
-37,7
+37,8
@@
#define _HID_REPORT_H_
\r
\r
/* Includes: */
\r
#define _HID_REPORT_H_
\r
\r
/* Includes: */
\r
- #include <LUFA/Drivers/USB/USB.h> // USB Functionality
\r
+ #include <LUFA/Drivers/USB/USB.h>
\r
+ #include <LUFA/Drivers/USB/Class/Host/HIDParser.h>
\r
\r
#include "KeyboardHostWithParser.h"
\r
\r
\r
#include "KeyboardHostWithParser.h"
\r
\r
@@
-75,5
+76,7
@@
\r
/* Function Prototypes: */
\r
uint8_t GetHIDReportData(void);
\r
\r
/* Function Prototypes: */
\r
uint8_t GetHIDReportData(void);
\r
+
\r
+ bool CALLBACK_HIDParser_FilterHIDReportItem(HID_ReportItem_Attributes_t* CurrentItemAttributes);
\r
\r
#endif
\r
\r
#endif
\r