| 82 | factoryConfig->rightStickCalibration.getRealMax(rightMaxX, rightMaxY); |
| 83 | } |
| 84 | void SwitchGamepadDevice::initialize() |
| 85 | { |
| 86 | m_epin = next_epin(); |
| 87 | m_epout = next_epout(); |
| 88 | usb_instances_by_epin[m_epin & (~0x80)] = usb_instances[interface_id]; |
| 89 | usb_instances_by_epout[m_epout] = usb_instances[interface_id]; |
| 90 | } |
| 91 | bool SwitchGamepadDevice::sendReport(uint8_t reportID, void const *reportData, uint16_t reportLength) |
| 92 | { |
| 93 | bool response = send_report(reportLength, 0, reportData); |
nothing calls this directly
no outgoing calls
no test coverage detected