Extract general HID descriptor related functions to descriptor_hid.[ch]

This commit is contained in:
László Monda
2016-03-03 18:43:22 +01:00
parent 55c063c69a
commit a4989349ec
7 changed files with 72 additions and 39 deletions

View File

@@ -176,6 +176,8 @@ add_executable(dev_composite_hid_mouse_hid_keyboard_bm.elf
"${SrcDir}/usb_descriptor_device.h"
"${SrcDir}/usb_descriptor_generic_hid_report.c"
"${SrcDir}/usb_descriptor_generic_hid_report.h"
"${SrcDir}/usb_descriptor_hid.c"
"${SrcDir}/usb_descriptor_hid.h"
"${SrcDir}/usb_descriptor_keyboard_report.c"
"${SrcDir}/usb_descriptor_keyboard_report.h"
"${SrcDir}/usb_descriptor_mouse_report.c"

View File

@@ -225,6 +225,16 @@
<type>1</type>
<locationURI>PARENT-2-PROJECT_LOC/usb_descriptor_generic_hid_report.h</locationURI>
</link>
<link>
<name>sources/usb_descriptor_hid.c</name>
<type>1</type>
<locationURI>PARENT-2-PROJECT_LOC/usb_descriptor_hid.c</locationURI>
</link>
<link>
<name>sources/usb_descriptor_hid.h</name>
<type>1</type>
<locationURI>PARENT-2-PROJECT_LOC/usb_descriptor_hid.h</locationURI>
</link>
<link>
<name>sources/usb_descriptor_keyboard_report.c</name>
<type>1</type>