MissionControl/btdrv-mitm/source/controllers/switchcontroller.cpp

29 lines
715 B
C++

#include "switchcontroller.hpp"
namespace ams::controller {
const bluetooth::Address& SwitchController::address(void) const {
return m_address;
}
ControllerType SwitchController::type(void) {
return m_type;
}
bool SwitchController::isSwitchController(void) {
return m_switchController;
}
Result SwitchController::initialize(void) {
return ams::ResultSuccess();
}
const bluetooth::HidReport * SwitchController::handleIncomingReport(const bluetooth::HidReport *report) {
return report;
}
const bluetooth::HidReport * SwitchController::handleOutgoingReport(const bluetooth::HidReport *report) {
return report;
}
}