MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / Setup

Method Setup

apps/tools/Tools/commands/InputCommand.cpp:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24{
25
26void 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
35int InputCommand::ExecuteCheck()
36{

Callers

nothing calls this directly

Calls 1

ExecuteTestFunction · 0.85

Tested by

no test coverage detected