MOUSE SENSITIVITY CONVERTER / AXIS DIRECTION
Separate mouse direction from sensitivity magnitude
If a converted sensitivity turns the camera the wrong way, check the axis mapping and inversion setting before changing its magnitude. Record one horizontal stroke and one vertical stroke separately. A positive conversion ratio preserves the sign of each input.
Published November 5, 2026 · AimConvert · an independent developer
Open the sensitivity converter ↗Write down what a positive value means
An input coordinate and a camera angle have separate conventions. MDN defines movementY as the current screenY minus its previous value. It also warns that browsers can expose different movement units. Record the API, unit and camera mapping together before comparing a browser log with a game's output. A direction label alone does not establish a hardware fault.
Replay two independent strokes
Use a constructed mapping yaw = 0.20x and pitch = −0.20y, with input in selected units and output in degrees. The horizontal stroke (15, 0) produces (3, 0). The vertical stroke (0, 10) produces (0, −2). These are definitions for this replay, not measurements or universal camera conventions. Decide which physical stroke should increase your camera angle, then compare that intention with the logged result.
Now deliberately swap the input axes, using yaw = 0.20y and pitch = −0.20x. The same horizontal stroke produces (0, −3), while the vertical stroke produces (2, 0). Neither a larger nor a smaller common positive gain can move those responses back onto the intended output axes. The two strokes isolate the swap more clearly than a diagonal stroke with equal components.
Use a reversal to preserve evidence
With the original mapping, the input pair (12, −8) produces (2.4, 1.6) degrees. Its exact reversal (−12, 8) produces (−2.4, −1.6). Adding the two output vectors gives (0, 0). If a routine first takes the absolute value of both input components, the two strokes instead produce the same output (2.4, −1.6), and their sum is (4.8, −3.2). Magnitude-only logging would hide this difference because the length of each individual output vector is unchanged.
Suppose a sensitivity conversion multiplies the selected gain by 1.5. The new diagonal coefficients are +0.30 and −0.30. The first horizontal stroke now produces +4.5 degrees of yaw, and the vertical stroke produces −3 degrees of pitch. Their signs and output axes remain unchanged. Applying a vertical inversion multiplies only the pitch coefficient by −1, yielding +0.30. Inverting both coefficients would also reverse the horizontal response. Keep these operations separate when recording your setup.
Run a small direction check
- Use a neutral camera pose away from pitch limits. Record signed input and the output angle increment for each event.
- Move along one axis, return, then test the other axis. Keep the same input mode and inversion settings throughout.
- Check axis selection and sign at the point where the camera angle is applied. Then compare positive sensitivity magnitudes with the converter.
Questions
Can a positive sensitivity ratio invert an axis?
Multiplication by a positive ratio preserves a nonzero value's sign. An additional mapping or inversion operation can change it.
Does zero net rotation prove the setup is correct?
No. Both a correct mapping and a consistently inverted linear mapping cancel an exact reversal. Inspect each directed stroke too.
Should a browser pixel be treated as a device count?
Record the actual API's units first. The browser's documented unit differences prevent that assumption from following from the field name alone.
Source and method
All vectors, coefficients and angles here are synthetic exact calculations, reproduced in the audit. The method isolates direction in a selected linear mapping. Clamping, smoothing and other nonlinear processing require separate checks. MDN movementY definition and unit warning. For a separate input-path failure, see duplicate consumption of displacement.
Next, check pitch clamping before a reversal check.