MCPcopy Create free account
hub / github.com/cathery/sys-con / WriteAckGuideReport

Method WriteAckGuideReport

source/ControllerLib/Controllers/XboxOneController.cpp:299–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297}
298
299Result XboxOneController::WriteAckGuideReport(uint8_t sequence)
300{
301 Result rc;
302 uint8_t report[] = {
303 0x01, 0x20,
304 sequence,
305 0x09, 0x00, 0x07, 0x20, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00};
306
307 rc = m_outPipe->Write(report, sizeof(report));
308 return rc;
309}
310
311Result XboxOneController::SetRumble(uint8_t strong_magnitude, uint8_t weak_magnitude)
312{

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.80

Tested by

no test coverage detected