| 24 | { |
| 25 | |
| 26 | void InputCommand::Setup(CLI::App& app) |
| 27 | { |
| 28 | app.add_subcommand("check-input", "Verify SDL3 input + gamepad subsystem initializes (CI-safe, no window)") |
| 29 | ->callback([]() { std::exit(ExecuteCheck()); }); |
| 30 | |
| 31 | app.add_subcommand("test-input", "Interactive input event logger — keyboard, mouse, gamepad | Esc to quit") |
| 32 | ->callback([]() { std::exit(ExecuteTest()); }); |
| 33 | } |
| 34 | |
| 35 | int InputCommand::ExecuteCheck() |
| 36 | { |
nothing calls this directly
no test coverage detected