Steam Controller

Steam Controller

Gyro4All and how it handles gyro with the Steam Controller
A few days ago a new program called Gyro4All arrived that allows games to "natively" add gyro support to a lot of games that don't support it with the list that keeps growing. It works great with the Steam Controller including the original one and it reads the trackpads. My question is can someone who is smarter than me look at this program and see what they are doing different that Valve can't do? It's smooth with no jitter and easy to tune and even has scope/ADS settings.

Any mouse look setting I try through Steam Input is not as smooth as this program can do it.
And gyro to joystick just always seems to take a lot of fine tuning that is honestly hit or miss. Would this be something that Valve could implement in the future or are we relegated to what the modding community can do? It would be nice for Valve to somehow implement this to Steam Input without a 3rd party program.
< >
Showing 1-3 of 3 comments
Yeah, Gyro To Joystick can be finnicky, because the underlying thing that we're doing is taking a mouse-style movement where we want to move X pixels and then flicking the joystick virtually for an amount of time that we hope ends up approximating that input to the game and it's affected by acceleration curves, deadzones, etc on the normal joystick in the game. Fundamentally Steam Input is either asking the OS to send a mouse input or keyboard key that the game reads, or we're substituting the state of the joystick with our own state based on Steam Input where it's read through the game's normal joystick code. Unfortunately, that's just an innate limitation to the approach. We encourage developers to support simultaneous gamepad and mouse inputs so the gyro can output to a mouse so that it is much more direct and therefore smooth in the game, but that's a decision that we have to leave up to game devs.

This program takes a different approach of injecting much more deeply into the game, figuring out where the camera position is stored in memory, and bypassing all the normal game code to directly inject the camera angles it wants after the normal game input loop runs. This requires reverse engineering of each game/engine and looks much more like a cheat to the game, which is why it only supports a couple dozen games and some of them state that you have to turn off anti-cheat and play offline/on private servers. Steam Input can't really go down this path both for the sheer amount of work it would be across tens of thousands of titles, but also the very real risk that running this on a game could result in players getting banned for cheating.

If gyro/trackpad aim is important for you and you're playing a game that doesn't support mixed input, the best results will be switching to a full mouse/kb configuration and making sure the sensitivity is set high in Steam and low in the game. This gives the smoothest camera movements because the game is getting high dynamic range and then dividing that number down. If you instead had low sensitivity in Steam Input and higher sensitivity in the game, there'd be low dynamic range and in some cases the game would actually be scaling up a number from Steam. That would result in visible "stair stepping" where you can see the movement in the game stay the same as you increase in speed until you are faster enough for an integer value change to be processed by the game and then you see the speed jump up. The easiest way to see this is to bind joystick to mouse at a very low sensitivity and play around with the stick deflection.
Originally posted by austinp_valve:
Yeah, Gyro To Joystick can be finnicky, because the underlying thing that we're doing is taking a mouse-style movement where we want to move X pixels and then flicking the joystick virtually for an amount of time that we hope ends up approximating that input to the game and it's affected by acceleration curves, deadzones, etc on the normal joystick in the game. Fundamentally Steam Input is either asking the OS to send a mouse input or keyboard key that the game reads, or we're substituting the state of the joystick with our own state based on Steam Input where it's read through the game's normal joystick code. Unfortunately, that's just an innate limitation to the approach. We encourage developers to support simultaneous gamepad and mouse inputs so the gyro can output to a mouse so that it is much more direct and therefore smooth in the game, but that's a decision that we have to leave up to game devs.

This program takes a different approach of injecting much more deeply into the game, figuring out where the camera position is stored in memory, and bypassing all the normal game code to directly inject the camera angles it wants after the normal game input loop runs. This requires reverse engineering of each game/engine and looks much more like a cheat to the game, which is why it only supports a couple dozen games and some of them state that you have to turn off anti-cheat and play offline/on private servers. Steam Input can't really go down this path both for the sheer amount of work it would be across tens of thousands of titles, but also the very real risk that running this on a game could result in players getting banned for cheating.

If gyro/trackpad aim is important for you and you're playing a game that doesn't support mixed input, the best results will be switching to a full mouse/kb configuration and making sure the sensitivity is set high in Steam and low in the game. This gives the smoothest camera movements because the game is getting high dynamic range and then dividing that number down. If you instead had low sensitivity in Steam Input and higher sensitivity in the game, there'd be low dynamic range and in some cases the game would actually be scaling up a number from Steam. That would result in visible "stair stepping" where you can see the movement in the game stay the same as you increase in speed until you are faster enough for an integer value change to be processed by the game and then you see the speed jump up. The easiest way to see this is to bind joystick to mouse at a very low sensitivity and play around with the stick deflection.

Thanks for the input! And I understand now how gargantuan of a task it would be to translate all the game engines. And I can also see how it be can seen as cheating, especially if auto aim/aim assist is still turned on.

As far as using it, it does help with games that don't support mixed inputs or having UI flickering problems as only very few games let you hard set a specific UI.
It also makes it easier for games with a lot of menus and don't want to spend a good chunk of time doing mode shifts, button chords and action layers.

I have tinkered for hours and am pretty adept at fine tuning mouse look but no matter what settings I use there always is a "stepping motion" when panning the camera that is not there when using mouse to joystick on gyro. It always feels like I'm picking the lesser of two evils. Either being very accurate with mouse look or a lot less accurate but smoother gameplay with joystick to mouse.
I never thought about lowering the sensitivity of the mouse in game! It makes sense now that I think about it, but well... I never thought about it!
Thank you for taking the time to write such a detailed an intricate post Austin! it's really cool to see responses like these that are both official, but not afraid to go in-depth.
< >
Showing 1-3 of 3 comments
Per page: 1530 50