| 224 | } |
| 225 | |
| 226 | Result Dualshock3Controller::SetLED(Dualshock3LEDValue value) |
| 227 | { |
| 228 | const uint8_t ledPacket[]{ |
| 229 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
| 230 | static_cast<uint8_t>(value << 1), |
| 231 | LED_PERMANENT, |
| 232 | LED_PERMANENT, |
| 233 | LED_PERMANENT, |
| 234 | LED_PERMANENT}; |
| 235 | return SendCommand(m_interface, Ds3FeatureUnknown1, ledPacket, sizeof(ledPacket)); |
| 236 | } |
| 237 | |
| 238 | void Dualshock3Controller::LoadConfig(const ControllerConfig *config) |
| 239 | { |
nothing calls this directly
no outgoing calls
no test coverage detected