From 6f6d11635134c1ffedbd2a487657fe6674efaa94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Sun, 26 Feb 2017 02:45:43 +0100 Subject: [PATCH] Move usb_interface_*.[ch] files to the newly created usb_interfaces directory. --- right/src/usb_descriptors/usb_descriptor_configuration.h | 6 +++--- .../src/usb_descriptors/usb_descriptor_generic_hid_report.c | 2 +- right/src/usb_descriptors/usb_descriptor_hid.h | 6 +++--- right/src/{ => usb_interfaces}/usb_interface_generic_hid.c | 0 right/src/{ => usb_interfaces}/usb_interface_generic_hid.h | 0 right/src/{ => usb_interfaces}/usb_interface_keyboard.c | 0 right/src/{ => usb_interfaces}/usb_interface_keyboard.h | 0 right/src/{ => usb_interfaces}/usb_interface_mouse.c | 0 right/src/{ => usb_interfaces}/usb_interface_mouse.h | 0 right/src/usb_protocol_handler.h | 2 +- right/src/usb_report_updater.c | 2 +- 11 files changed, 9 insertions(+), 9 deletions(-) rename right/src/{ => usb_interfaces}/usb_interface_generic_hid.c (100%) rename right/src/{ => usb_interfaces}/usb_interface_generic_hid.h (100%) rename right/src/{ => usb_interfaces}/usb_interface_keyboard.c (100%) rename right/src/{ => usb_interfaces}/usb_interface_keyboard.h (100%) rename right/src/{ => usb_interfaces}/usb_interface_mouse.c (100%) rename right/src/{ => usb_interfaces}/usb_interface_mouse.h (100%) diff --git a/right/src/usb_descriptors/usb_descriptor_configuration.h b/right/src/usb_descriptors/usb_descriptor_configuration.h index a78224d..d491909 100644 --- a/right/src/usb_descriptors/usb_descriptor_configuration.h +++ b/right/src/usb_descriptors/usb_descriptor_configuration.h @@ -3,9 +3,9 @@ // Includes: - #include "usb_interface_keyboard.h" - #include "usb_interface_mouse.h" - #include "usb_interface_generic_hid.h" + #include "usb_interfaces/usb_interface_keyboard.h" + #include "usb_interfaces/usb_interface_mouse.h" + #include "usb_interfaces/usb_interface_generic_hid.h" // Macros: diff --git a/right/src/usb_descriptors/usb_descriptor_generic_hid_report.c b/right/src/usb_descriptors/usb_descriptor_generic_hid_report.c index c81633a..82ab86d 100644 --- a/right/src/usb_descriptors/usb_descriptor_generic_hid_report.c +++ b/right/src/usb_descriptors/usb_descriptor_generic_hid_report.c @@ -1,5 +1,5 @@ #include "usb_api.h" -#include "usb_interface_generic_hid.h" +#include "usb_interfaces/usb_interface_generic_hid.h" #include "usb_descriptor_generic_hid_report.h" uint8_t UsbGenericHidReportDescriptor[USB_GENERIC_HID_REPORT_DESCRIPTOR_LENGTH] = { diff --git a/right/src/usb_descriptors/usb_descriptor_hid.h b/right/src/usb_descriptors/usb_descriptor_hid.h index c6f1fbd..83c6315 100644 --- a/right/src/usb_descriptors/usb_descriptor_hid.h +++ b/right/src/usb_descriptors/usb_descriptor_hid.h @@ -3,9 +3,9 @@ // Includes: - #include "usb_interface_keyboard.h" - #include "usb_interface_mouse.h" - #include "usb_interface_generic_hid.h" + #include "usb_interfaces/usb_interface_keyboard.h" + #include "usb_interfaces/usb_interface_mouse.h" + #include "usb_interfaces/usb_interface_generic_hid.h" // Functions: diff --git a/right/src/usb_interface_generic_hid.c b/right/src/usb_interfaces/usb_interface_generic_hid.c similarity index 100% rename from right/src/usb_interface_generic_hid.c rename to right/src/usb_interfaces/usb_interface_generic_hid.c diff --git a/right/src/usb_interface_generic_hid.h b/right/src/usb_interfaces/usb_interface_generic_hid.h similarity index 100% rename from right/src/usb_interface_generic_hid.h rename to right/src/usb_interfaces/usb_interface_generic_hid.h diff --git a/right/src/usb_interface_keyboard.c b/right/src/usb_interfaces/usb_interface_keyboard.c similarity index 100% rename from right/src/usb_interface_keyboard.c rename to right/src/usb_interfaces/usb_interface_keyboard.c diff --git a/right/src/usb_interface_keyboard.h b/right/src/usb_interfaces/usb_interface_keyboard.h similarity index 100% rename from right/src/usb_interface_keyboard.h rename to right/src/usb_interfaces/usb_interface_keyboard.h diff --git a/right/src/usb_interface_mouse.c b/right/src/usb_interfaces/usb_interface_mouse.c similarity index 100% rename from right/src/usb_interface_mouse.c rename to right/src/usb_interfaces/usb_interface_mouse.c diff --git a/right/src/usb_interface_mouse.h b/right/src/usb_interfaces/usb_interface_mouse.h similarity index 100% rename from right/src/usb_interface_mouse.h rename to right/src/usb_interfaces/usb_interface_mouse.h diff --git a/right/src/usb_protocol_handler.h b/right/src/usb_protocol_handler.h index 75829f1..a14eeda 100644 --- a/right/src/usb_protocol_handler.h +++ b/right/src/usb_protocol_handler.h @@ -3,7 +3,7 @@ // Includes: -#include "usb_interface_generic_hid.h" +#include "usb_interfaces/usb_interface_generic_hid.h" // Macros: diff --git a/right/src/usb_report_updater.c b/right/src/usb_report_updater.c index d321c7d..fc09219 100644 --- a/right/src/usb_report_updater.c +++ b/right/src/usb_report_updater.c @@ -2,7 +2,7 @@ #include "action.h" #include "led_display.h" #include "layer.h" -#include "usb_interface_mouse.h" +#include "usb_interfaces/usb_interface_mouse.h" #include "current_keymap.h" static uint8_t activeLayer = LAYER_ID_BASE;