ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
648 stars 75 forks source link

[TF2] Mouse sensitivity is lower than normal #5666

Closed ramzialhaddad closed 6 months ago

ramzialhaddad commented 6 months ago

After the new update I felt my mouse sensitivity was noticeably lower. I checked the in-game settings and it was set to my regular 1.7 (I played earlier in the day too so nothing changed). However, "Raw Input" is missing in the Linux version - though checking with the console and command it was enabled.

I booted into Windows and felt the same lower sensitivity, and the "Raw Input" setting was present.

On Linux I tried both the Vulkan and Legacy OpenGL launch options (Vulkan doesn't work but I followed this to get the vulkan running even if I couldn't join casual and the lower sensitivity was still present.) and both have the same lower sensitivity.

If you need anymore information I'd be happy to share.

Tiagoquix commented 6 months ago

Raw input wasn't enabled by default before this update. Try setting m_rawinput 0 and see if it works for you.

misyltoad commented 6 months ago

m_rawinput is enabled by default, and on Linux, the option is hidden from the UI on purpose as not enabling it totally breaks on Wayland/XWayland as it tries to do cursor warping. m_rawinput is also just better.

There is a second part to this, and that SDL got upgraded which fixed the fact that sensitivity was being double/half of what it should be before.

ramzialhaddad commented 6 months ago

m_rawinput is enabled by default, and on Linux, the option is hidden from the UI on purpose as not enabling it totally breaks on Wayland/XWayland as it tries to do cursor warping. m_rawinput is also just better.

There is a second part to this, and that SDL got upgraded which fixed the fact that sensitivity was being double/half of what it should be before.

Cheers for the explanations, I tried doubling my in-game sens and it felt more closer to what it was before. I still cannot tell if its teeny bit faster or slower due to placebo but playing normally it feels like what I am used to.

Thanks for the help and explanation!

Tiagoquix commented 6 months ago

@Joshua-Ashton Shouldn't m_rawinput be force-enabled for Linux? They do this in the x64 version of Garry's Mod.

misyltoad commented 6 months ago

It is

Tiagoquix commented 6 months ago

It is

By force-enabled I mean locking it to "1" (min and max value to 1).

] m_rawinput "m_rawinput" = "1" client archive

  • Use Raw Input for mouse input.

Nothing here states that it is locked, unless it is a change that isn't visible normally.

misyltoad commented 6 months ago

You can change it on startup if you care enough, but it always gets reset back to 1 on startup.