mirror of
https://github.com/ndeadly/MissionControl
synced 2025-02-16 13:18:27 +00:00
mc.mitm: flag SetTsi command as unsupported for xiaomi and steelseries free controllers
This commit is contained in:
parent
fab069c75f
commit
0489e3090c
2 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue