Skip to content

Commit 7b84845

Browse files
committed
Rename files to avoid name conflict.
1 parent 44d2c0e commit 7b84845

11 files changed

+33
-33
lines changed

ClientSource/Connection/MessageLogger.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void MessageLogger::on_send(const BotBaseMessage& message, bool is_retransmit){
3131
if (message.type == PABB_MSG_REQUEST_CLOCK){
3232
print = false;
3333
}
34-
#if 1
34+
#if 0
3535
if (message.type == PABB_MSG_CONTROLLER_STATE){
3636
// pabb_controller_state body;
3737
// memcpy(&body, message.body.c_str(), sizeof(pabb_controller_state));

SerialPrograms/CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -835,12 +835,12 @@ file(GLOB MAIN_SOURCES
835835
Source/NintendoSwitch/Controllers/NintendoSwitch_ProControllerWithScheduler.h
836836
Source/NintendoSwitch/Controllers/NintendoSwitch_VirtualControllerState.cpp
837837
Source/NintendoSwitch/Controllers/NintendoSwitch_VirtualControllerState.h
838-
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_PokkenController.cpp
839-
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_PokkenController.h
840-
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_ProController.cpp
841-
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_ProController.h
842-
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_WirelessProController.cpp
843-
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_WirelessProController.h
838+
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_PokkenController.cpp
839+
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_PokkenController.h
840+
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_ProController.cpp
841+
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_ProController.h
842+
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_WirelessProController.cpp
843+
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_WirelessProController.h
844844
Source/NintendoSwitch/Controllers/SysbotBase/SysbotBase_Connection.cpp
845845
Source/NintendoSwitch/Controllers/SysbotBase/SysbotBase_Connection.h
846846
Source/NintendoSwitch/Controllers/SysbotBase/SysbotBase_Descriptor.cpp

SerialPrograms/SerialPrograms.pro

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,9 @@ SOURCES += \
411411
Source/NintendoSwitch/Controllers/NintendoSwitch_ProController.cpp \
412412
Source/NintendoSwitch/Controllers/NintendoSwitch_ProControllerWithScheduler.cpp \
413413
Source/NintendoSwitch/Controllers/NintendoSwitch_VirtualControllerState.cpp \
414-
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_PokkenController.cpp \
415-
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_ProController.cpp \
416-
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_WirelessProController.cpp \
414+
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_PokkenController.cpp \
415+
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_ProController.cpp \
416+
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_WirelessProController.cpp \
417417
Source/NintendoSwitch/Controllers/SysbotBase/SysbotBase_Connection.cpp \
418418
Source/NintendoSwitch/Controllers/SysbotBase/SysbotBase_Descriptor.cpp \
419419
Source/NintendoSwitch/Controllers/SysbotBase/SysbotBase_ProController.cpp \
@@ -1579,9 +1579,9 @@ HEADERS += \
15791579
Source/NintendoSwitch/Controllers/NintendoSwitch_ProController.h \
15801580
Source/NintendoSwitch/Controllers/NintendoSwitch_ProControllerWithScheduler.h \
15811581
Source/NintendoSwitch/Controllers/NintendoSwitch_VirtualControllerState.h \
1582-
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_PokkenController.h \
1583-
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_ProController.h \
1584-
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_WirelessProController.h \
1582+
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_PokkenController.h \
1583+
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_ProController.h \
1584+
Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_WirelessProController.h \
15851585
Source/NintendoSwitch/Controllers/SysbotBase/SysbotBase_Connection.h \
15861586
Source/NintendoSwitch/Controllers/SysbotBase/SysbotBase_Descriptor.h \
15871587
Source/NintendoSwitch/Controllers/SysbotBase/SysbotBase_ProController.h \

SerialPrograms/Source/Controllers/SerialPABotBase/SerialPABotBase_Descriptor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#include "SerialPABotBase_Descriptor.h"
1212
#include "SerialPABotBase_SelectorWidget.h"
1313

14-
#include "NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_PokkenController.h"
15-
#include "NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_WirelessProController.h"
14+
#include "NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_PokkenController.h"
15+
#include "NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_WirelessProController.h"
1616

1717
//#include <iostream>
1818
//using std::cout;

SerialPrograms/Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_PokkenController.cpp renamed to SerialPrograms/Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_PokkenController.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Pokken Controller
1+
/* SerialPABotBase: Pokken Controller
22
*
33
* From: https://github.com/PokemonAutomation/Arduino-Source
44
*
@@ -12,7 +12,7 @@
1212
#include "Controllers/ControllerCapability.h"
1313
#include "NintendoSwitch/Commands/NintendoSwitch_Messages_Device.h"
1414
#include "NintendoSwitch/Commands/NintendoSwitch_Messages_PushButtons.h"
15-
#include "NintendoSwitch_PokkenController.h"
15+
#include "NintendoSwitch_SerialPABotBase_PokkenController.h"
1616

1717
//#include <iostream>
1818
//using std::cout;

SerialPrograms/Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_PokkenController.h renamed to SerialPrograms/Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_PokkenController.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
/* Pokken Controller
1+
/* SerialPABotBase: Pokken Controller
22
*
33
* From: https://github.com/PokemonAutomation/Arduino-Source
44
*
55
*/
66

7-
#ifndef PokemonAutomation_NintendoSwitch_PokkenController_H
8-
#define PokemonAutomation_NintendoSwitch_PokkenController_H
7+
#ifndef PokemonAutomation_NintendoSwitch_SerialPABotBase_PokkenController_H
8+
#define PokemonAutomation_NintendoSwitch_SerialPABotBase_PokkenController_H
99

1010
#include "Controllers/ControllerCapability.h"
11-
#include "NintendoSwitch_ProController.h"
11+
#include "NintendoSwitch_SerialPABotBase_ProController.h"
1212

1313
namespace PokemonAutomation{
1414
namespace NintendoSwitch{

SerialPrograms/Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_ProController.cpp renamed to SerialPrograms/Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_ProController.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Pro Controller
1+
/* SerialPABotBase: Pro Controller
22
*
33
* From: https://github.com/PokemonAutomation/Arduino-Source
44
*
@@ -8,7 +8,7 @@
88
#include "CommonFramework/Options/Environment/ThemeSelectorOption.h"
99
#include "Controllers/ControllerTypeStrings.h"
1010
#include "Controllers/ControllerCapability.h"
11-
#include "NintendoSwitch_ProController.h"
11+
#include "NintendoSwitch_SerialPABotBase_ProController.h"
1212

1313
//#include <iostream>
1414
//using std::cout;

SerialPrograms/Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_ProController.h renamed to SerialPrograms/Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_ProController.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
/* Pro Controller
1+
/* SerialPABotBase: Pro Controller
22
*
33
* From: https://github.com/PokemonAutomation/Arduino-Source
44
*
55
*/
66

7-
#ifndef PokemonAutomation_NintendoSwitch_ProController_H
8-
#define PokemonAutomation_NintendoSwitch_ProController_H
7+
#ifndef PokemonAutomation_NintendoSwitch_SerialPABotBase_ProController_H
8+
#define PokemonAutomation_NintendoSwitch_SerialPABotBase_ProController_H
99

1010
#include "ClientSource/Connection/BotBase.h"
1111
#include "Controllers/SerialPABotBase/SerialPABotBase_Connection.h"

SerialPrograms/Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_WirelessProController.cpp renamed to SerialPrograms/Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_WirelessProController.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Pokken Controller
1+
/* SerialPABotBase: Wireless Pro Controller
22
*
33
* From: https://github.com/PokemonAutomation/Arduino-Source
44
*
@@ -13,7 +13,7 @@
1313
#include "CommonFramework/GlobalSettingsPanel.h"
1414
#include "CommonFramework/Options/Environment/ThemeSelectorOption.h"
1515
#include "Controllers/ControllerCapability.h"
16-
#include "NintendoSwitch_WirelessProController.h"
16+
#include "NintendoSwitch_SerialPABotBase_WirelessProController.h"
1717

1818
//#include <iostream>
1919
//using std::cout;

SerialPrograms/Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_WirelessProController.h renamed to SerialPrograms/Source/NintendoSwitch/Controllers/SerialPABotBase/NintendoSwitch_SerialPABotBase_WirelessProController.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
/* Wireless Pro Controller
1+
/* SerialPABotBase: Wireless Pro Controller
22
*
33
* From: https://github.com/PokemonAutomation/Arduino-Source
44
*
55
*/
66

7-
#ifndef PokemonAutomation_NintendoSwitch_WirelessProController_H
8-
#define PokemonAutomation_NintendoSwitch_WirelessProController_H
7+
#ifndef PokemonAutomation_NintendoSwitch_SerialPABotBase_WirelessProController_H
8+
#define PokemonAutomation_NintendoSwitch_SerialPABotBase_WirelessProController_H
99

10-
#include "NintendoSwitch_ProController.h"
10+
#include "NintendoSwitch_SerialPABotBase_ProController.h"
1111

1212
namespace PokemonAutomation{
1313
namespace NintendoSwitch{

0 commit comments

Comments
 (0)