mirror of
https://github.com/ndeadly/MissionControl
synced 2024-11-23 12:53:17 +00:00
btdrv-mitm: comment out virtual controller stuff for now
This commit is contained in:
parent
de8c86652d
commit
00c89d21d2
6 changed files with 10 additions and 10 deletions
|
@ -5,7 +5,7 @@ namespace controller {
|
|||
|
||||
BluetoothController::BluetoothController(ControllerType type, const BluetoothAddress *address) : m_type(type), m_address(*address) {
|
||||
m_switchController = (type == ControllerType_Joycon) || (type == ControllerType_SwitchPro);
|
||||
m_virtualController = nullptr;
|
||||
//m_virtualController = nullptr;
|
||||
}
|
||||
|
||||
const BluetoothAddress& BluetoothController::address(void) const {
|
||||
|
|
|
@ -39,7 +39,7 @@ namespace controller {
|
|||
BluetoothAddress m_address;
|
||||
|
||||
bool m_switchController;
|
||||
std::unique_ptr<VirtualController> m_virtualController;
|
||||
//std::unique_ptr<VirtualController> m_virtualController;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -19,8 +19,8 @@ namespace controller {
|
|||
|
||||
Dualshock4Controller::Dualshock4Controller(const BluetoothAddress *address)
|
||||
: BluetoothController(ControllerType_Dualshock4, address) {
|
||||
if (ams::hos::GetVersion() >= ams::hos::Version_7_0_0)
|
||||
m_virtualController = std::make_unique<HdlsVirtualController>();
|
||||
//if (ams::hos::GetVersion() >= ams::hos::Version_7_0_0)
|
||||
//m_virtualController = std::make_unique<HdlsVirtualController>();
|
||||
}
|
||||
|
||||
Result Dualshock4Controller::initialize(void) {
|
||||
|
|
|
@ -6,8 +6,8 @@ namespace controller {
|
|||
|
||||
WiimoteController::WiimoteController(const BluetoothAddress *address)
|
||||
: WiiController(ControllerType_Wiimote, address) {
|
||||
if (ams::hos::GetVersion() >= ams::hos::Version_7_0_0)
|
||||
m_virtualController = std::make_unique<HdlsVirtualController>();
|
||||
//if (ams::hos::GetVersion() >= ams::hos::Version_7_0_0)
|
||||
//m_virtualController = std::make_unique<HdlsVirtualController>();
|
||||
}
|
||||
|
||||
void WiimoteController::convertReportFormat(const HidReport *inReport, HidReport *outReport) {
|
||||
|
|
|
@ -9,8 +9,8 @@ namespace controller {
|
|||
|
||||
WiiUProController::WiiUProController(const BluetoothAddress *address)
|
||||
: WiiController(ControllerType_WiiUPro, address) {
|
||||
if (ams::hos::GetVersion() >= ams::hos::Version_7_0_0)
|
||||
m_virtualController = std::make_unique<HdlsVirtualController>();
|
||||
//if (ams::hos::GetVersion() >= ams::hos::Version_7_0_0)
|
||||
//m_virtualController = std::make_unique<HdlsVirtualController>();
|
||||
}
|
||||
|
||||
Result WiiUProController::initialize(void) {
|
||||
|
|
|
@ -15,8 +15,8 @@ namespace controller {
|
|||
|
||||
XboxOneController::XboxOneController(const BluetoothAddress *address)
|
||||
: BluetoothController(ControllerType_XboxOne, address) {
|
||||
if (ams::hos::GetVersion() >= ams::hos::Version_7_0_0)
|
||||
m_virtualController = std::make_unique<HdlsVirtualController>();
|
||||
//if (ams::hos::GetVersion() >= ams::hos::Version_7_0_0)
|
||||
//m_virtualController = std::make_unique<HdlsVirtualController>();
|
||||
}
|
||||
|
||||
void XboxOneController::convertReportFormat(const HidReport *inReport, HidReport *outReport) {
|
||||
|
|
Loading…
Reference in a new issue