mirror of
https://github.com/ndeadly/MissionControl
synced 2024-11-22 20:33:07 +00:00
btdrv-mitm: move empty constructor definitions into headers
This commit is contained in:
parent
4fae9c88cd
commit
c5a5b1f456
5 changed files with 5 additions and 12 deletions
|
@ -20,10 +20,6 @@ namespace ams::controller {
|
|||
|
||||
}
|
||||
|
||||
Dualshock4Controller::Dualshock4Controller(const bluetooth::Address *address)
|
||||
: FakeSwitchController(ControllerType_Dualshock4, address), m_ledColour({0, 0, 0}) {
|
||||
|
||||
}
|
||||
|
||||
Result Dualshock4Controller::initialize(void) {
|
||||
R_TRY(FakeSwitchController::initialize());
|
||||
|
|
|
@ -113,7 +113,8 @@ namespace ams::controller {
|
|||
{0x054c, 0x09cc} // Official Dualshock4 v2
|
||||
};
|
||||
|
||||
Dualshock4Controller(const bluetooth::Address *address);
|
||||
Dualshock4Controller(const bluetooth::Address *address)
|
||||
: FakeSwitchController(ControllerType_Dualshock4, address), m_ledColour({0, 0, 0}) { };
|
||||
|
||||
Result initialize(void);
|
||||
Result setPlayerLed(u8 led_mask);
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace ams::controller {
|
|||
|
||||
public:
|
||||
FakeSwitchController(ControllerType type, const bluetooth::Address *address)
|
||||
: SwitchController(type, address) {};
|
||||
: SwitchController(type, address) { };
|
||||
|
||||
const bluetooth::HidReport * handleIncomingReport(const bluetooth::HidReport *report);
|
||||
const bluetooth::HidReport * handleOutgoingReport(const bluetooth::HidReport *report);
|
||||
|
|
|
@ -12,11 +12,6 @@ namespace ams::controller {
|
|||
|
||||
}
|
||||
|
||||
XboxOneController::XboxOneController(const bluetooth::Address *address)
|
||||
: FakeSwitchController(ControllerType_XboxOne, address) {
|
||||
|
||||
}
|
||||
|
||||
Result XboxOneController::initialize(void) {
|
||||
R_TRY(FakeSwitchController::initialize());
|
||||
|
||||
|
|
|
@ -75,7 +75,8 @@ namespace ams::controller {
|
|||
{0x045e, 0x02fd} // Official Xbox One S Controller
|
||||
};
|
||||
|
||||
XboxOneController(const bluetooth::Address *address);
|
||||
XboxOneController(const bluetooth::Address *address)
|
||||
: FakeSwitchController(ControllerType_XboxOne, address) { };
|
||||
|
||||
Result initialize(void);
|
||||
void convertReportFormat(const bluetooth::HidReport *inReport, bluetooth::HidReport *outReport);
|
||||
|
|
Loading…
Reference in a new issue