From 2741cf3734deedffbb732c5e97050fdaab8118bb Mon Sep 17 00:00:00 2001 From: ndeadly <24677491+ndeadly@users.noreply.github.com> Date: Tue, 8 Sep 2020 17:07:59 +0200 Subject: [PATCH] Rename btdrv-mitm to bluetooth-mitm --- .gitignore | 2 +- Makefile | 19 ++++++++++--------- {btdrv-mitm => bluetooth-mitm}/Makefile | 0 .../bluetooth-mitm.json | 2 +- .../btdrv_mitm/bluetooth/bluetooth_ble.cpp | 0 .../btdrv_mitm/bluetooth/bluetooth_ble.hpp | 0 .../bluetooth/bluetooth_circular_buffer.cpp | 0 .../bluetooth/bluetooth_circular_buffer.hpp | 0 .../btdrv_mitm/bluetooth/bluetooth_core.cpp | 0 .../btdrv_mitm/bluetooth/bluetooth_core.hpp | 0 .../btdrv_mitm/bluetooth/bluetooth_events.cpp | 0 .../btdrv_mitm/bluetooth/bluetooth_events.hpp | 0 .../btdrv_mitm/bluetooth/bluetooth_hid.cpp | 0 .../btdrv_mitm/bluetooth/bluetooth_hid.hpp | 0 .../bluetooth/bluetooth_hid_report.cpp | 0 .../bluetooth/bluetooth_hid_report.hpp | 0 .../btdrv_mitm/bluetooth/bluetooth_types.hpp | 0 .../source/btdrv_mitm/btdrv_mitm_flags.cpp | 0 .../source/btdrv_mitm/btdrv_mitm_flags.hpp | 0 .../source/btdrv_mitm/btdrv_mitm_service.cpp | 0 .../source/btdrv_mitm/btdrv_mitm_service.hpp | 0 .../source/btdrv_mitm/btdrv_shim.c | 0 .../source/btdrv_mitm/btdrv_shim.h | 0 .../source/btm_mitm/btm/btm_types.hpp | 0 .../source/btm_mitm/btm_mitm_service.cpp | 0 .../source/btm_mitm/btm_mitm_service.hpp | 0 .../source/btm_mitm/btm_shim.c | 0 .../source/btm_mitm/btm_shim.h | 0 .../controllers/controller_management.cpp | 0 .../controllers/controller_management.hpp | 0 .../controllers/dualshock4_controller.cpp | 0 .../controllers/dualshock4_controller.hpp | 0 .../emulated_switch_controller.cpp | 0 .../emulated_switch_controller.hpp | 0 .../controllers/gamestick_controller.cpp | 0 .../controllers/gamestick_controller.hpp | 0 .../source/controllers/gembox_controller.cpp | 0 .../source/controllers/gembox_controller.hpp | 0 .../source/controllers/ipega_controller.cpp | 0 .../source/controllers/ipega_controller.hpp | 0 .../source/controllers/ouya_controller.cpp | 0 .../source/controllers/ouya_controller.hpp | 0 .../source/controllers/switch_controller.cpp | 0 .../source/controllers/switch_controller.hpp | 0 .../source/controllers/wii_controller.cpp | 0 .../source/controllers/wii_controller.hpp | 0 .../controllers/xbox_one_controller.cpp | 0 .../controllers/xbox_one_controller.hpp | 0 .../source/controllers/xiaomi_controller.cpp | 0 .../source/controllers/xiaomi_controller.hpp | 0 .../source/main.cpp | 5 +++-- 51 files changed, 15 insertions(+), 13 deletions(-) rename {btdrv-mitm => bluetooth-mitm}/Makefile (100%) rename btdrv-mitm/btdrv-mitm.json => bluetooth-mitm/bluetooth-mitm.json (99%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/bluetooth/bluetooth_ble.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/bluetooth/bluetooth_ble.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/bluetooth/bluetooth_circular_buffer.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/bluetooth/bluetooth_circular_buffer.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/bluetooth/bluetooth_core.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/bluetooth/bluetooth_core.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/bluetooth/bluetooth_events.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/bluetooth/bluetooth_events.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/bluetooth/bluetooth_hid.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/bluetooth/bluetooth_hid.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/bluetooth/bluetooth_hid_report.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/bluetooth/bluetooth_hid_report.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/bluetooth/bluetooth_types.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/btdrv_mitm_flags.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/btdrv_mitm_flags.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/btdrv_mitm_service.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/btdrv_mitm_service.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/btdrv_shim.c (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btdrv_mitm/btdrv_shim.h (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btm_mitm/btm/btm_types.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btm_mitm/btm_mitm_service.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btm_mitm/btm_mitm_service.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btm_mitm/btm_shim.c (100%) rename {btdrv-mitm => bluetooth-mitm}/source/btm_mitm/btm_shim.h (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/controller_management.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/controller_management.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/dualshock4_controller.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/dualshock4_controller.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/emulated_switch_controller.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/emulated_switch_controller.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/gamestick_controller.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/gamestick_controller.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/gembox_controller.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/gembox_controller.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/ipega_controller.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/ipega_controller.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/ouya_controller.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/ouya_controller.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/switch_controller.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/switch_controller.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/wii_controller.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/wii_controller.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/xbox_one_controller.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/xbox_one_controller.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/xiaomi_controller.cpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/controllers/xiaomi_controller.hpp (100%) rename {btdrv-mitm => bluetooth-mitm}/source/main.cpp (95%) diff --git a/.gitignore b/.gitignore index a22ffe4..f100f7a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ .patches/ tests/ dist/ -btdrv-mitm/build/ +bluetooth-mitm/build/ *.log *.elf *.nro diff --git a/Makefile b/Makefile index 6ae774b..dc2ac26 100644 --- a/Makefile +++ b/Makefile @@ -1,27 +1,28 @@ PROJECT_NAME := MissionControl -BTDRVMITM_TID := 010000000000bd00 +BLUETOOTH_MITM_TID := 010000000000bd00 -TARGETS := btdrv-mitm +TARGETS := bluetooth-mitm all: $(TARGETS) -btdrv-mitm: +bluetooth-mitm: $(MAKE) -C $@ clean: $(MAKE) -C Atmosphere/libraries clean - $(MAKE) -C btdrv-mitm clean + $(MAKE) -C bluetooth-mitm clean rm -rf dist dist: all rm -rf dist - mkdir -p dist/atmosphere/contents/$(BTDRVMITM_TID) - cp btdrv-mitm/btdrv-mitm.nsp dist/atmosphere/contents/$(BTDRVMITM_TID)/exefs.nsp - echo "btdrv" > dist/atmosphere/contents/$(BTDRVMITM_TID)/mitm.lst + mkdir -p dist/atmosphere/contents/$(BLUETOOTH_MITM_TID) + cp bluetooth-mitm/bluetooth-mitm.nsp dist/atmosphere/contents/$(BLUETOOTH_MITM_TID)/exefs.nsp + echo "btdrv" > dist/atmosphere/contents/$(BLUETOOTH_MITM_TID)/mitm.lst + echo "btm" > dist/atmosphere/contents/$(BLUETOOTH_MITM_TID)/mitm.lst - mkdir -p dist/atmosphere/contents/$(BTDRVMITM_TID)/flags - touch dist/atmosphere/contents/$(BTDRVMITM_TID)/flags/boot2.flag + mkdir -p dist/atmosphere/contents/$(BLUETOOTH_MITM_TID)/flags + touch dist/atmosphere/contents/$(BLUETOOTH_MITM_TID)/flags/boot2.flag cp -r exefs_patches dist/atmosphere/ diff --git a/btdrv-mitm/Makefile b/bluetooth-mitm/Makefile similarity index 100% rename from btdrv-mitm/Makefile rename to bluetooth-mitm/Makefile diff --git a/btdrv-mitm/btdrv-mitm.json b/bluetooth-mitm/bluetooth-mitm.json similarity index 99% rename from btdrv-mitm/btdrv-mitm.json rename to bluetooth-mitm/bluetooth-mitm.json index 2718372..0ea1936 100644 --- a/btdrv-mitm/btdrv-mitm.json +++ b/bluetooth-mitm/bluetooth-mitm.json @@ -1,5 +1,5 @@ { - "name": "btdrv.mitm", + "name": "bluetooth.mitm", "title_id": "0x010000000000bd00", "title_id_range_min": "0x010000000000bd00", "title_id_range_max": "0x010000000000bd00", diff --git a/btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_ble.cpp b/bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_ble.cpp similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_ble.cpp rename to bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_ble.cpp diff --git a/btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_ble.hpp b/bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_ble.hpp similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_ble.hpp rename to bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_ble.hpp diff --git a/btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_circular_buffer.cpp b/bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_circular_buffer.cpp similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_circular_buffer.cpp rename to bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_circular_buffer.cpp diff --git a/btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_circular_buffer.hpp b/bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_circular_buffer.hpp similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_circular_buffer.hpp rename to bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_circular_buffer.hpp diff --git a/btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_core.cpp b/bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_core.cpp similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_core.cpp rename to bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_core.cpp diff --git a/btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_core.hpp b/bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_core.hpp similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_core.hpp rename to bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_core.hpp diff --git a/btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_events.cpp b/bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_events.cpp similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_events.cpp rename to bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_events.cpp diff --git a/btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_events.hpp b/bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_events.hpp similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_events.hpp rename to bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_events.hpp diff --git a/btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_hid.cpp b/bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_hid.cpp similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_hid.cpp rename to bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_hid.cpp diff --git a/btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_hid.hpp b/bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_hid.hpp similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_hid.hpp rename to bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_hid.hpp diff --git a/btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_hid_report.cpp b/bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_hid_report.cpp similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_hid_report.cpp rename to bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_hid_report.cpp diff --git a/btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_hid_report.hpp b/bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_hid_report.hpp similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_hid_report.hpp rename to bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_hid_report.hpp diff --git a/btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_types.hpp b/bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_types.hpp similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/bluetooth/bluetooth_types.hpp rename to bluetooth-mitm/source/btdrv_mitm/bluetooth/bluetooth_types.hpp diff --git a/btdrv-mitm/source/btdrv_mitm/btdrv_mitm_flags.cpp b/bluetooth-mitm/source/btdrv_mitm/btdrv_mitm_flags.cpp similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/btdrv_mitm_flags.cpp rename to bluetooth-mitm/source/btdrv_mitm/btdrv_mitm_flags.cpp diff --git a/btdrv-mitm/source/btdrv_mitm/btdrv_mitm_flags.hpp b/bluetooth-mitm/source/btdrv_mitm/btdrv_mitm_flags.hpp similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/btdrv_mitm_flags.hpp rename to bluetooth-mitm/source/btdrv_mitm/btdrv_mitm_flags.hpp diff --git a/btdrv-mitm/source/btdrv_mitm/btdrv_mitm_service.cpp b/bluetooth-mitm/source/btdrv_mitm/btdrv_mitm_service.cpp similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/btdrv_mitm_service.cpp rename to bluetooth-mitm/source/btdrv_mitm/btdrv_mitm_service.cpp diff --git a/btdrv-mitm/source/btdrv_mitm/btdrv_mitm_service.hpp b/bluetooth-mitm/source/btdrv_mitm/btdrv_mitm_service.hpp similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/btdrv_mitm_service.hpp rename to bluetooth-mitm/source/btdrv_mitm/btdrv_mitm_service.hpp diff --git a/btdrv-mitm/source/btdrv_mitm/btdrv_shim.c b/bluetooth-mitm/source/btdrv_mitm/btdrv_shim.c similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/btdrv_shim.c rename to bluetooth-mitm/source/btdrv_mitm/btdrv_shim.c diff --git a/btdrv-mitm/source/btdrv_mitm/btdrv_shim.h b/bluetooth-mitm/source/btdrv_mitm/btdrv_shim.h similarity index 100% rename from btdrv-mitm/source/btdrv_mitm/btdrv_shim.h rename to bluetooth-mitm/source/btdrv_mitm/btdrv_shim.h diff --git a/btdrv-mitm/source/btm_mitm/btm/btm_types.hpp b/bluetooth-mitm/source/btm_mitm/btm/btm_types.hpp similarity index 100% rename from btdrv-mitm/source/btm_mitm/btm/btm_types.hpp rename to bluetooth-mitm/source/btm_mitm/btm/btm_types.hpp diff --git a/btdrv-mitm/source/btm_mitm/btm_mitm_service.cpp b/bluetooth-mitm/source/btm_mitm/btm_mitm_service.cpp similarity index 100% rename from btdrv-mitm/source/btm_mitm/btm_mitm_service.cpp rename to bluetooth-mitm/source/btm_mitm/btm_mitm_service.cpp diff --git a/btdrv-mitm/source/btm_mitm/btm_mitm_service.hpp b/bluetooth-mitm/source/btm_mitm/btm_mitm_service.hpp similarity index 100% rename from btdrv-mitm/source/btm_mitm/btm_mitm_service.hpp rename to bluetooth-mitm/source/btm_mitm/btm_mitm_service.hpp diff --git a/btdrv-mitm/source/btm_mitm/btm_shim.c b/bluetooth-mitm/source/btm_mitm/btm_shim.c similarity index 100% rename from btdrv-mitm/source/btm_mitm/btm_shim.c rename to bluetooth-mitm/source/btm_mitm/btm_shim.c diff --git a/btdrv-mitm/source/btm_mitm/btm_shim.h b/bluetooth-mitm/source/btm_mitm/btm_shim.h similarity index 100% rename from btdrv-mitm/source/btm_mitm/btm_shim.h rename to bluetooth-mitm/source/btm_mitm/btm_shim.h diff --git a/btdrv-mitm/source/controllers/controller_management.cpp b/bluetooth-mitm/source/controllers/controller_management.cpp similarity index 100% rename from btdrv-mitm/source/controllers/controller_management.cpp rename to bluetooth-mitm/source/controllers/controller_management.cpp diff --git a/btdrv-mitm/source/controllers/controller_management.hpp b/bluetooth-mitm/source/controllers/controller_management.hpp similarity index 100% rename from btdrv-mitm/source/controllers/controller_management.hpp rename to bluetooth-mitm/source/controllers/controller_management.hpp diff --git a/btdrv-mitm/source/controllers/dualshock4_controller.cpp b/bluetooth-mitm/source/controllers/dualshock4_controller.cpp similarity index 100% rename from btdrv-mitm/source/controllers/dualshock4_controller.cpp rename to bluetooth-mitm/source/controllers/dualshock4_controller.cpp diff --git a/btdrv-mitm/source/controllers/dualshock4_controller.hpp b/bluetooth-mitm/source/controllers/dualshock4_controller.hpp similarity index 100% rename from btdrv-mitm/source/controllers/dualshock4_controller.hpp rename to bluetooth-mitm/source/controllers/dualshock4_controller.hpp diff --git a/btdrv-mitm/source/controllers/emulated_switch_controller.cpp b/bluetooth-mitm/source/controllers/emulated_switch_controller.cpp similarity index 100% rename from btdrv-mitm/source/controllers/emulated_switch_controller.cpp rename to bluetooth-mitm/source/controllers/emulated_switch_controller.cpp diff --git a/btdrv-mitm/source/controllers/emulated_switch_controller.hpp b/bluetooth-mitm/source/controllers/emulated_switch_controller.hpp similarity index 100% rename from btdrv-mitm/source/controllers/emulated_switch_controller.hpp rename to bluetooth-mitm/source/controllers/emulated_switch_controller.hpp diff --git a/btdrv-mitm/source/controllers/gamestick_controller.cpp b/bluetooth-mitm/source/controllers/gamestick_controller.cpp similarity index 100% rename from btdrv-mitm/source/controllers/gamestick_controller.cpp rename to bluetooth-mitm/source/controllers/gamestick_controller.cpp diff --git a/btdrv-mitm/source/controllers/gamestick_controller.hpp b/bluetooth-mitm/source/controllers/gamestick_controller.hpp similarity index 100% rename from btdrv-mitm/source/controllers/gamestick_controller.hpp rename to bluetooth-mitm/source/controllers/gamestick_controller.hpp diff --git a/btdrv-mitm/source/controllers/gembox_controller.cpp b/bluetooth-mitm/source/controllers/gembox_controller.cpp similarity index 100% rename from btdrv-mitm/source/controllers/gembox_controller.cpp rename to bluetooth-mitm/source/controllers/gembox_controller.cpp diff --git a/btdrv-mitm/source/controllers/gembox_controller.hpp b/bluetooth-mitm/source/controllers/gembox_controller.hpp similarity index 100% rename from btdrv-mitm/source/controllers/gembox_controller.hpp rename to bluetooth-mitm/source/controllers/gembox_controller.hpp diff --git a/btdrv-mitm/source/controllers/ipega_controller.cpp b/bluetooth-mitm/source/controllers/ipega_controller.cpp similarity index 100% rename from btdrv-mitm/source/controllers/ipega_controller.cpp rename to bluetooth-mitm/source/controllers/ipega_controller.cpp diff --git a/btdrv-mitm/source/controllers/ipega_controller.hpp b/bluetooth-mitm/source/controllers/ipega_controller.hpp similarity index 100% rename from btdrv-mitm/source/controllers/ipega_controller.hpp rename to bluetooth-mitm/source/controllers/ipega_controller.hpp diff --git a/btdrv-mitm/source/controllers/ouya_controller.cpp b/bluetooth-mitm/source/controllers/ouya_controller.cpp similarity index 100% rename from btdrv-mitm/source/controllers/ouya_controller.cpp rename to bluetooth-mitm/source/controllers/ouya_controller.cpp diff --git a/btdrv-mitm/source/controllers/ouya_controller.hpp b/bluetooth-mitm/source/controllers/ouya_controller.hpp similarity index 100% rename from btdrv-mitm/source/controllers/ouya_controller.hpp rename to bluetooth-mitm/source/controllers/ouya_controller.hpp diff --git a/btdrv-mitm/source/controllers/switch_controller.cpp b/bluetooth-mitm/source/controllers/switch_controller.cpp similarity index 100% rename from btdrv-mitm/source/controllers/switch_controller.cpp rename to bluetooth-mitm/source/controllers/switch_controller.cpp diff --git a/btdrv-mitm/source/controllers/switch_controller.hpp b/bluetooth-mitm/source/controllers/switch_controller.hpp similarity index 100% rename from btdrv-mitm/source/controllers/switch_controller.hpp rename to bluetooth-mitm/source/controllers/switch_controller.hpp diff --git a/btdrv-mitm/source/controllers/wii_controller.cpp b/bluetooth-mitm/source/controllers/wii_controller.cpp similarity index 100% rename from btdrv-mitm/source/controllers/wii_controller.cpp rename to bluetooth-mitm/source/controllers/wii_controller.cpp diff --git a/btdrv-mitm/source/controllers/wii_controller.hpp b/bluetooth-mitm/source/controllers/wii_controller.hpp similarity index 100% rename from btdrv-mitm/source/controllers/wii_controller.hpp rename to bluetooth-mitm/source/controllers/wii_controller.hpp diff --git a/btdrv-mitm/source/controllers/xbox_one_controller.cpp b/bluetooth-mitm/source/controllers/xbox_one_controller.cpp similarity index 100% rename from btdrv-mitm/source/controllers/xbox_one_controller.cpp rename to bluetooth-mitm/source/controllers/xbox_one_controller.cpp diff --git a/btdrv-mitm/source/controllers/xbox_one_controller.hpp b/bluetooth-mitm/source/controllers/xbox_one_controller.hpp similarity index 100% rename from btdrv-mitm/source/controllers/xbox_one_controller.hpp rename to bluetooth-mitm/source/controllers/xbox_one_controller.hpp diff --git a/btdrv-mitm/source/controllers/xiaomi_controller.cpp b/bluetooth-mitm/source/controllers/xiaomi_controller.cpp similarity index 100% rename from btdrv-mitm/source/controllers/xiaomi_controller.cpp rename to bluetooth-mitm/source/controllers/xiaomi_controller.cpp diff --git a/btdrv-mitm/source/controllers/xiaomi_controller.hpp b/bluetooth-mitm/source/controllers/xiaomi_controller.hpp similarity index 100% rename from btdrv-mitm/source/controllers/xiaomi_controller.hpp rename to bluetooth-mitm/source/controllers/xiaomi_controller.hpp diff --git a/btdrv-mitm/source/main.cpp b/bluetooth-mitm/source/main.cpp similarity index 95% rename from btdrv-mitm/source/main.cpp rename to bluetooth-mitm/source/main.cpp index 961255d..b89de2b 100644 --- a/btdrv-mitm/source/main.cpp +++ b/bluetooth-mitm/source/main.cpp @@ -16,8 +16,9 @@ */ #include #include -#include "btdrv_mitm_service.hpp" -#include "bluetooth/bluetooth_events.hpp" +#include "btdrv_mitm/btdrv_mitm_service.hpp" +#include "btm_mitm/btm_mitm_service.hpp" +#include "btdrv_mitm/bluetooth/bluetooth_events.hpp" #include extern "C" {