mirror of
https://github.com/ndeadly/MissionControl
synced 2024-11-26 14:20:21 +00:00
bluetooth-mitm: mitm the btdrv SetTsi function
This commit is contained in:
parent
5ac15a48a2
commit
bb9ab12889
2 changed files with 7 additions and 1 deletions
|
@ -107,6 +107,10 @@ namespace ams::mitm::bluetooth {
|
|||
return ams::ResultSuccess();
|
||||
}
|
||||
|
||||
Result BtdrvMitmService::SetTsi(ams::bluetooth::Address address, u8 tsi) {
|
||||
return sm::mitm::ResultShouldForwardToSession();
|
||||
}
|
||||
|
||||
/* 1.0.0 - 3.0.2 */
|
||||
Result BtdrvMitmService::RegisterHidReportEventDeprecated(sf::OutCopyHandle out_handle) {
|
||||
return RegisterHidReportEvent(out_handle);
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
AMS_SF_METHOD_INFO(C, H, 19, Result, WriteHidData, (ams::bluetooth::Address address, const sf::InPointerBuffer &buffer), (address, buffer)) \
|
||||
AMS_SF_METHOD_INFO(C, H, 26, Result, FinalizeHid, (void), ()) \
|
||||
AMS_SF_METHOD_INFO(C, H, 27, Result, GetHidEventInfo, (sf::Out<ams::bluetooth::HidEventType> out_type, const sf::OutPointerBuffer &out_buffer), (out_type, out_buffer)) \
|
||||
AMS_SF_METHOD_INFO(C, H, 28, Result, SetTsi, (ams::bluetooth::Address address, u8 tsi), (address, tsi)) \
|
||||
AMS_SF_METHOD_INFO(C, H, 36, Result, RegisterHidReportEventDeprecated, (sf::OutCopyHandle out_handle), (out_handle), hos::Version_1_0_0, hos::Version_3_0_2) \
|
||||
AMS_SF_METHOD_INFO(C, H, 37, Result, RegisterHidReportEvent, (sf::OutCopyHandle out_handle), (out_handle), hos::Version_4_0_0) \
|
||||
AMS_SF_METHOD_INFO(C, H, 37, Result, GetHidReportEventInfoDeprecated1, (sf::Out<ams::bluetooth::HidEventType> out_type, const sf::OutPointerBuffer &out_buffer), (out_type, out_buffer), hos::Version_1_0_0, hos::Version_3_0_2) \
|
||||
|
@ -62,7 +63,8 @@ namespace ams::mitm::bluetooth {
|
|||
Result InitializeHid(sf::OutCopyHandle out_handle, u16 version);
|
||||
Result WriteHidData(ams::bluetooth::Address address, const sf::InPointerBuffer &buffer);
|
||||
Result FinalizeHid(void);
|
||||
Result GetHidEventInfo(sf::Out<ams::bluetooth::HidEventType> out_type, const sf::OutPointerBuffer &out_buffer);
|
||||
Result GetHidEventInfo(sf::Out<ams::bluetooth::HidEventType> out_type, const sf::OutPointerBuffer &out_buffer);
|
||||
Result SetTsi(ams::bluetooth::Address address, u8 tsi);
|
||||
Result RegisterHidReportEventDeprecated(sf::OutCopyHandle out_handle);
|
||||
Result RegisterHidReportEvent(sf::OutCopyHandle out_handle);
|
||||
Result GetHidReportEventInfoDeprecated1(sf::Out<ams::bluetooth::HidEventType> out_type, const sf::OutPointerBuffer &out_buffer);
|
||||
|
|
Loading…
Reference in a new issue