htc: implement complete usb driver
This commit is contained in:
1 parent
c878123274
commit
c59388caf1
15 files changed
+933
-5
No files matched your search
@@ -73,5 +73,12 @@ namespace ams::htclow::ctrl {
|
||||
);
|
||||
}
|
||||
|
||||
void HtcctrlService::SetDriverType(impl::DriverType driver_type) {
|
||||
/* Lock ourselves. */
|
||||
std::scoped_lock lk(m_mutex);
|
||||
|
||||
/* Update our beacon response. */
|
||||
this->UpdateBeaconResponse(this->GetConnectionType(driver_type));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -57,6 +57,8 @@ namespace ams::htclow::ctrl {
|
||||
void UpdateBeaconResponse(const char *connection);
|
||||
public:
|
||||
HtcctrlService(HtcctrlPacketFactory *pf, HtcctrlStateMachine *sm, mux::Mux *mux);
|
||||
|
||||
void SetDriverType(impl::DriverType driver_type);
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user