Put the files that contain the usb descriptors into the newly created usb_descriptors directory.
This commit is contained in:
21
right/src/usb_descriptors/usb_descriptor_hid.h
Normal file
21
right/src/usb_descriptors/usb_descriptor_hid.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef __USB_DESCRIPTOR_HID_H__
|
||||
#define __USB_DESCRIPTOR_HID_H__
|
||||
|
||||
// Includes:
|
||||
|
||||
#include "usb_interface_keyboard.h"
|
||||
#include "usb_interface_mouse.h"
|
||||
#include "usb_interface_generic_hid.h"
|
||||
|
||||
// Functions:
|
||||
|
||||
extern usb_status_t USB_DeviceGetHidDescriptor(
|
||||
usb_device_handle handle, usb_device_get_hid_descriptor_struct_t *hidDescriptor);
|
||||
|
||||
extern usb_status_t USB_DeviceGetHidReportDescriptor(
|
||||
usb_device_handle handle, usb_device_get_hid_report_descriptor_struct_t *hidReportDescriptor);
|
||||
|
||||
extern usb_status_t USB_DeviceGetHidPhysicalDescriptor(
|
||||
usb_device_handle handle, usb_device_get_hid_physical_descriptor_struct_t *hidPhysicalDescriptor);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user