#ifndef USB_HID_H
#define USB_HID_H
+#include <cpu/types.h>
+
/*
* USB HID interface subclass and protocol codes
*/
*
*/
+#include "usb_hid.h"
+#include "usbkbd.h"
+
#include "cfg/cfg_usbkbd.h"
#define LOG_LEVEL USB_KEYBOARD_LOG_LEVEL
#include <drv/usb.h>
#include <drv/usb_endpoint.h>
-#include "drv/usb_hid.h"
-#include "drv/usbkbd.h"
/*
* HID device configuration (usb-keyboard)
*
*/
+#include "usb_hid.h"
+#include "usbmouse.h"
+
#include "cfg/cfg_usbmouse.h"
#define LOG_LEVEL USB_MOUSE_LOG_LEVEL
#include <drv/usb.h>
#include <drv/usb_endpoint.h>
-#include "drv/usb_hid.h"
-#include "drv/usbmouse.h"
/*
* HID device configuration (usb-mouse)
*
*/
+#include "usbser.h"
+
#include "cfg/cfg_usbser.h"
#define LOG_LEVEL USB_SERIAL_LOG_LEVEL
#include <string.h> /* memcpy() */
-#include "drv/usbser.h"
#define USB_SERIAL_INTERFACES 1
#define USB_SERIAL_ENDPOINTS 3