Restructure the codebase across more files.
This commit is contained in:
24
right/usb_class_mouse.h
Normal file
24
right/usb_class_mouse.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef __USB_CLASS_MOUSE_H__
|
||||
#define __USB_CLASS_MOUSE_H__
|
||||
|
||||
// Macros:
|
||||
|
||||
#define USB_MOUSE_CLASS (0x03U)
|
||||
#define USB_MOUSE_SUBCLASS (0x01U)
|
||||
#define USB_MOUSE_PROTOCOL (0x02U)
|
||||
|
||||
#define USB_MOUSE_INTERFACE_INDEX (0U)
|
||||
#define USB_MOUSE_INTERFACE_COUNT (1U)
|
||||
#define USB_MOUSE_INTERFACE_ALTERNATE_SETTING (0U)
|
||||
|
||||
#define USB_MOUSE_ENDPOINT_ID (1U)
|
||||
#define USB_MOUSE_ENDPOINT_COUNT (1U)
|
||||
|
||||
#define USB_MOUSE_INTERRUPT_IN_PACKET_SIZE (8U)
|
||||
#define USB_MOUSE_INTERRUPT_IN_INTERVAL (0x04U)
|
||||
|
||||
// Variables:
|
||||
|
||||
extern usb_device_class_struct_t UsbMouseClass;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user