mirror of
https://github.com/ndeadly/MissionControl
synced 2025-01-18 15:34:00 +00:00
29 lines
715 B
C++
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;
|
|
}
|
|
|
|
}
|