Skip to content

Conversation

@loliver1823
Copy link

@loliver1823 loliver1823 commented Jan 5, 2026

Adds cl_joystickLookCurve (default 1.0, linear) to apply a response curve to joystick look axes only (yaw/pitch) in CL_JoystickMove() for both SP and MP.

This lets you tune “fine aim vs fast turn” behavior (e.g. >1.0 = less sensitive near center, <1.0 = more sensitive near center) without changing movement or defaults.

Scope: code/client/cl_input.cpp, codemp/client/cl_input.cpp only.

Inspired by jk2mv’s controller stick-shaping work; adapted for OpenJK and kept default-neutral.

How to test:
set in_joystick 1
set in_joystickUseAnalog 1
set cl_joystickLookCurve 1.0 (default / linear)

Example values:
set cl_joystickLookCurve 1.5 (less sensitive near center, better fine aim)
set cl_joystickLookCurve 0.8 (more sensitive near center)

@loliver1823 loliver1823 requested a review from a team as a code owner January 5, 2026 06:55
@loliver1823 loliver1823 changed the base branch from master to dev/controller_wip January 5, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant