Steam Controller

Steam Controller

Can I map the controller joystick to move the mouse between specific locations?
I want to play Terraforming Mars with my controllers through Steam Link. The game only supports mouse input (not even keyboard). Now the default joystick for mouse movement is pretty bad for this game. The game UI consists of only certain UI elements that you need to click and I want to map it so you can use the joystick to jump between those locations.

For example, I want to use the Left stick to move between these areas, then press A to simulate a mouse click (NOT move around in the red boxes, the boxes are for easier demonstration, it's actually a specific location):

https://imgur.com/Om2lvQw

Is it possible? Somebody suggested Mouse Regions but I don't see how I can define those regions. Did I miss something?
< >
Showing 1-4 of 4 comments
shadowboy813 Jun 25, 2023 @ 10:13am 
Am I right in guessing that you want to use the joystick to select different items as if you were picking different items in a menu, so move right, go to the first, move right, go to the second, etc?

If that's the case, you may want to use the "move cursor to" activator, make an activator for each one, and set it to cycle activators. I don't remember how to do this off the top of my head right now.

The limitation is that you'll only be able to cycle backwards unless you set stick right to move forward through the positions and stick left to move backwards through them. The two stick positions will not sync with each other, however. You could, however, use a set of action layers for each position, then within each action layer have left activate the previous and right activate the next, that way they'll flow logically (remember to have the buttons activate the next/previous action layer and remove the current one, or else it could get confusing with multiple layers active at once)
Yes this is what I need. Indeed I wish I could use a single stick to move between positions (for example at the middle, move the stick to the left to move to the left position, right to move to the right and so on) but your solution should ease it a lot. I will combine it with menus as well, maybe even better.
ugafan Jun 26, 2023 @ 2:36am 
Yes it can be done. It depends how complex you want to make it. If you want the controller to "remember" your position for 20+ boxes, you'd need layers for each. That would be quite cumbersome to set up.

Instead of that, I would focus on the 4 most important ones on the stick. For example, let's say you want left stick to select the left arrow and right stick to select the right arrow.

Move to position. Manually select position.
Extra command: Left Mouse Button (Start Press)

If you want the cursor to end up at Done, you could add another command and assign a release press Move to Position.

You could assign down stick to bring up your cards.

You can also use the dpad or buttons for move to position on the lower part of the screen. If you want to cycle commands, use sub commands.

One more tip: you can create a "close open window" by doing a move to position to the upper right corner of the screen in combination with left mouse button.
Yeah that makes sense. I wish Steam just supports this out of the box. As a developer I am tempted to make a 3rd-party app for this but I need to see how Steam Link relay the input. I doubt an external app can intercept it because it's not a "real" controller hardware through Windows. Thanks for the help!
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Jun 25, 2023 @ 5:47am
Posts: 4