From bf43fb63d490de5eb10c242b4c453057aece5bcb Mon Sep 17 00:00:00 2001 From: leviathan Date: Thu, 17 Sep 2026 21:16:56 -0700 Subject: limit distance at which 'toggle-sit' action will work #6341 --- indra/llwindow/llgamecontrol.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'indra/llwindow/llgamecontrol.cpp') diff --git a/indra/llwindow/llgamecontrol.cpp b/indra/llwindow/llgamecontrol.cpp index f91660511d..c572cb7312 100755 --- a/indra/llwindow/llgamecontrol.cpp +++ b/indra/llwindow/llgamecontrol.cpp @@ -1478,11 +1478,6 @@ void LLGameControllerManager::onAxis(SDL_JoystickID id, U8 axis, S16 raw_value) // the trigger pair (fan-out), or None. U8 out = it->mOptions.mapAxis(phys); - // Note: raw_value is left as SDL reports it (no implicit sign flip here) -- - // any needed correction for SL's local right-handed reference frame (e.g. the - // RAW analog joysticks provide NEGATIVE X,Y values for LEFT,FORWARD) is instead - // expressed as a per-mode, per-action Invert flag (see getAxisInvert), applied - // once the value reaches its bound action in computeAgentActions()/getFlycamInputs(). bool phys_is_trigger = phys >= LLGameControl::AXIS_LEFT_TRIGGER; S16 fixed_value = it->mOptions.fixAxisValue(phys, raw_value); -- cgit v1.3