Put the files that contain the usb descriptors into the newly created usb_descriptors directory.
This commit is contained in:
20
right/src/usb_descriptors/usb_descriptor_configuration.h
Normal file
20
right/src/usb_descriptors/usb_descriptor_configuration.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef __USB_DESCRIPTOR_CONFIGURATION_H__
|
||||
#define __USB_DESCRIPTOR_CONFIGURATION_H__
|
||||
|
||||
// Includes:
|
||||
|
||||
#include "usb_interface_keyboard.h"
|
||||
#include "usb_interface_mouse.h"
|
||||
#include "usb_interface_generic_hid.h"
|
||||
|
||||
// Macros:
|
||||
|
||||
#define USB_COMPOSITE_CONFIGURATION_INDEX 1
|
||||
#define USB_CONFIGURATION_DESCRIPTOR_TOTAL_LENGTH 91
|
||||
|
||||
// Functions:
|
||||
|
||||
extern usb_status_t USB_DeviceGetConfigurationDescriptor(
|
||||
usb_device_handle handle, usb_device_get_configuration_descriptor_struct_t *configurationDescriptor);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user