| 1560 | } |
| 1561 | |
| 1562 | string_view ControlTypeToString(ControlTypes controlType) |
| 1563 | { |
| 1564 | switch (controlType) { |
| 1565 | case ControlTypes::None: |
| 1566 | return "None"; |
| 1567 | case ControlTypes::KeyboardAndMouse: |
| 1568 | return "KeyboardAndMouse"; |
| 1569 | case ControlTypes::Gamepad: |
| 1570 | return "Gamepad"; |
| 1571 | case ControlTypes::VirtualGamepad: |
| 1572 | return "VirtualGamepad"; |
| 1573 | } |
| 1574 | return "Invalid"; |
| 1575 | } |
| 1576 | |
| 1577 | void LogControlDeviceAndModeChange(ControlTypes newControlDevice, ControlTypes newControlMode) |
| 1578 | { |
no outgoing calls
no test coverage detected