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

Method SendCommand

source/ControllerLib/Controllers/Dualshock3Controller.cpp:221–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221Result Dualshock3Controller::SendCommand(IUSBInterface *interface, Dualshock3FeatureValue feature, const void *buffer, uint16_t size)
222{
223 return interface->ControlTransfer(0x21, 0x09, static_cast<uint16_t>(feature), 0, size, buffer);
224}
225
226Result Dualshock3Controller::SetLED(Dualshock3LEDValue value)
227{

Callers

nothing calls this directly

Calls 1

ControlTransferMethod · 0.80

Tested by

no test coverage detected