diff options
| author | kawaii-shakal <deusex1998@gmail.com> | 2026-11-25 08:31:50 +0500 |
|---|---|---|
| committer | kawaii-shakal <deusex1998@gmail.com> | 2026-11-25 08:31:50 +0500 |
| commit | d4d969a1fdc4bf8026017ab52d0a5d03c7737be6 (patch) | |
| tree | 68c4c8b47997166ee446b368bb60f8ce72ff5005 /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp | |
| parent | 0bc810504aa44ba7e30f3c3352ebad697b9814d6 (diff) | |
make_game, gameinput: controller, keyboard and mouse input out of the box (INPUT-OUT-OF-THE-BOX)
A build made with make_game.py on Windows had no input at all. The runtime
stage ran scripts/build_runtime.ps1 without -FetchSdl3, so on a machine without
an installed SDL3 the GameInput shim was not built. gta6rt then logged "served
without SDL3 (no devices)", and a connected DualSense or Xbox pad did nothing.
- make_game.py: the Windows runtime stage passes -FetchSdl3 (the pinned SDL3
3.4.20, SHA-256 checked by CMake). --no-sdl3 leaves the download out. The
docstring's "what it downloads" sentence names it.
- gameinput: LEONIDA_KEYBOARD_PAD defaults to the focused mode, so a player
without a pad still has the keyboard and mouse. Keys count only while the
game window has focus. "off" or "0" removes the pad.
- gameinput_test: the other cases set LEONIDA_KEYBOARD_PAD=off, as they count
only their own virtual pads. The keyboard pad case checks the new default.
- docs/gameinput.md: default and make_game behaviour.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions