diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-07-01 05:26:25 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-07-01 05:26:25 +0000 |
commit | 04660d3793292fad5a09bd50ae9615e53ca4aa10 (patch) | |
tree | e129246b6b2bf08358868e7ecdc03c2c4c5b708c /Demos/Device/LowLevel/KeyboardMouse | |
parent | b1625400998819846288e02a780b2b5ab14da143 (diff) | |
download | lufa-04660d3793292fad5a09bd50ae9615e53ca4aa10.tar.gz lufa-04660d3793292fad5a09bd50ae9615e53ca4aa10.tar.bz2 lufa-04660d3793292fad5a09bd50ae9615e53ca4aa10.zip |
Seperate out the device demos and project's configuration descriptor structure definitions to clearly indicate what descriptors belong to which interface.
Diffstat (limited to 'Demos/Device/LowLevel/KeyboardMouse')
-rw-r--r-- | Demos/Device/LowLevel/KeyboardMouse/Descriptors.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Demos/Device/LowLevel/KeyboardMouse/Descriptors.h b/Demos/Device/LowLevel/KeyboardMouse/Descriptors.h index 03606cf9b..f04b221ce 100644 --- a/Demos/Device/LowLevel/KeyboardMouse/Descriptors.h +++ b/Demos/Device/LowLevel/KeyboardMouse/Descriptors.h @@ -50,13 +50,16 @@ typedef struct { USB_Descriptor_Configuration_Header_t Config; + + // Keyboard HID Interface USB_Descriptor_Interface_t HID1_KeyboardInterface; USB_HID_Descriptor_HID_t HID1_KeyboardHID; - USB_Descriptor_Endpoint_t HID1_ReportINEndpoint; - USB_Descriptor_Endpoint_t HID1_ReportOUTEndpoint; + USB_Descriptor_Endpoint_t HID1_ReportINEndpoint; + + // Mouse HID Interface USB_Descriptor_Interface_t HID2_MouseInterface; USB_HID_Descriptor_HID_t HID2_MouseHID; - USB_Descriptor_Endpoint_t HID2_ReportINEndpoint; + USB_Descriptor_Endpoint_t HID2_ReportINEndpoint; } USB_Descriptor_Configuration_t; /* Macros: */ |