protonscr

TF2 feature request / Windows parity: Raw Input

steamclosed Feature RequestMOVED: Team Fortress 2reviewed
ValveSoftware/steam-for-linux#732 · opened 2013-01-18 by johndrinkwater · updated 2019-04-07 · 6 comments · github
Jjohndrinkwater 2013-01-18 github

Copied from http://steamcommunity.com/app/221410/discussions/7/846939854227821906/

While RAW mouse input is Windows specific, could we get something similar for Linux version?

Mmikesart 2013-01-21 github

I'm investigating. Unfortunately, it appears that you have to grab the mouse focus to get this to work otherwise other apps get these messages also**, and on Unity that appears to also grab the keyboard focus, which means alt+tab won't work. Going to take a bit more digging...

** http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XI2proto.txt#n2367

?ghost 2013-01-22 github

I got no alt+tab in Xonotic 0.6 under Gnome Shell 3.6 aswell, guess it's affected by same problem.

Any chance for adding this feature with just an autoexec command (for now), so it wouldn't create problems for every day users?

Jjohndrinkwater 2013-01-22 github

@gutigen this report is for supporting the feature and reenable the GUI in the settings to enable it. :)

?ghost 2013-01-22 github

@johndrinkwater I know but this could be temporary solution for more "advanced" users :)

Mmikesart 2013-01-23 github

This should be in the next tf2 release. We are only grabbing the mouse (XGrabPointer), but it appears that some window managers (Unity) take that to mean grab the keyboard as well and therefore alt+tab won't work unless you hit escape or chat first.

Eedrickhong 2019-04-07 github

Hey, I know this is a security issue but maybe there can be an option for linux users to add themselves into the input group and the game can read directly from evdev for raw input? Or is this solution a no go?

Nothing extracted yet.