summaryrefslogtreecommitdiff
path: root/indra/llwindow/llgamecontrol.cpp
diff options
context:
space:
mode:
authorleviathan <leviathan@lindenlab.com>2026-09-17 21:16:56 -0700
committerleviathan <leviathan@lindenlab.com>2026-10-16 13:14:38 -0700
commitbf43fb63d490de5eb10c242b4c453057aece5bcb (patch)
treee653cf7bc8c7db663b26f1aa08b1ff5d8b2347e6 /indra/llwindow/llgamecontrol.cpp
parentf329b9d6e0bc659beb5a249e0ab27fc0acd9068b (diff)
limit distance at which 'toggle-sit' action will work #6341
Diffstat (limited to 'indra/llwindow/llgamecontrol.cpp')
-rwxr-xr-xindra/llwindow/llgamecontrol.cpp5
1 files changed, 0 insertions, 5 deletions
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);