mc.mitm: flag SetTsi command as unsupported for xiaomi and steelseries free controllers

This commit is contained in:
ndeadly 2021-12-05 11:53:15 +01:00
parent fab069c75f
commit 0489e3090c
2 changed files with 4 additions and 0 deletions

View file

@ -162,6 +162,8 @@ namespace ams::controller {
SteelseriesController(const bluetooth::Address *address, HardwareID id)
: EmulatedSwitchController(address, id) { }
bool SupportsSetTsiCommand(void) { return !(m_id.pid == 0x1412); }
void UpdateControllerState(const bluetooth::HidReport *report);
private:

View file

@ -91,6 +91,8 @@ namespace ams::controller {
XiaomiController(const bluetooth::Address *address, HardwareID id)
: EmulatedSwitchController(address, id) { }
bool SupportsSetTsiCommand(void) { return false; }
Result Initialize(void);
void UpdateControllerState(const bluetooth::HidReport *report);