Game Control (LL 26.5) part 2: send controller + keyboard input to scripts (GameControlData via SDL3 gamepads) #1203
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream#1203
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Builds on part 1. This is the minimal path that makes
game_controlscripts work with a controller (or the keyboard) in Slipstream.Scope
SDL_INIT_GAMEPADafter window creation (indra/llwindow/llsdl.cpponly inits VIDEO today), plus gamepad add/remove/axis/button events.//LLGameControl::handleEvent(...)hook sits inindra/llwindow/llwindowsdl.cpp.GameControlEnabled, and only with the preference on.Not in scope
Driving the avatar, camera or flycam locally from the pad: part 3.
Research (local): research/GAME_CONTROL_2026-10-28.md. Upstream: LL viewer PR secondlife/viewer#6202 ("Game Control Alpha", merged to release/26.5 on 2026-10-17); wiki https://wiki.secondlife.com/wiki/LSL_Game_Control_Beta and https://wiki.secondlife.com/wiki/Game_control.
Shipped in 1.5.0 Beta 5 (2026-10-29).