btdrv-mitm: move empty constructor definitions into headers

This commit is contained in:
ndeadly 2020-07-30 22:07:26 +02:00
parent 4fae9c88cd
commit c5a5b1f456
5 changed files with 5 additions and 12 deletions

View file

@ -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());

View file

@ -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);

View file

@ -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());

View file

@ -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);