Game Control (LL 26.5) part 3: drive avatar / camera / flycam / cursor from a gamepad, remapping and Game Controls preferences #1204

Open
opened 2026-10-28 16:16:49 +00:00 by sky_line · 0 comments
Owner

LL's local half of Game Control:

  • the gamepad moves the avatar, mouselook and flycam, and an on-screen cursor;
  • a remappable action table (keyboard-style bindings for pad buttons and axes);
  • a Me > Preferences > Game Controls panel (button glyphs via PromptFont, SIL OFL 1.1 -- keep its copyright notice).

Notes

  • LL refactored the flycam into an LLFlycam class and touched llkeybind / llkeyconflict, llui and LLAgentCamera.
  • This collides with our camera work: the third-person shooter camera (sltpscamera), VR locomotion and our flycam changes. Design it into our camera stack rather than porting it wholesale.
  • The legacy LLViewerJoystick (3Dconnexion / NDOF) and its floater stay. Decide whether the SDL path replaces it for regular gamepads.
  • Do after parts 1 and 2, once LL's 26.5 is released (released code only, with credit).

Size: about 2-3 weeks.

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.

LL's local half of Game Control: - the gamepad moves the avatar, mouselook and flycam, and an on-screen cursor; - a remappable action table (keyboard-style bindings for pad buttons and axes); - a Me > Preferences > Game Controls panel (button glyphs via PromptFont, SIL OFL 1.1 -- keep its copyright notice). ## Notes - LL refactored the flycam into an LLFlycam class and touched llkeybind / llkeyconflict, llui and LLAgentCamera. - This collides with our camera work: the third-person shooter camera (sltpscamera), VR locomotion and our flycam changes. Design it into our camera stack rather than porting it wholesale. - The legacy LLViewerJoystick (3Dconnexion / NDOF) and its floater stay. Decide whether the SDL path replaces it for regular gamepads. - Do after parts 1 and 2, once LL's 26.5 is released (released code only, with credit). Size: about 2-3 weeks. 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.
sky_line added this to the Slipstream project 2026-10-28 16:16:49 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream#1204
No description provided.