Steam Controller

Steam Controller

Action sets/action layers
I'm as confused as someone watching a magic show!
I want a menu button to:
A) open the map and
B) switch controls to a different action set.

When that action set is active, I want to configure it in such a way that when the same menu button is pressed again, it
A) closes the map and
B) switches the controls back to default.

I've tried multiple options with start and end delays and toggle options but I can't get it to work :S
Last edited by Just_Little_Ghost; Jul 28, 2024 @ 12:37pm
< >
Showing 1-8 of 8 comments
DaMu Jul 28, 2024 @ 3:16pm 
I'm not sure where exactly you're having issues, because you shouldn't need delays or toggles for something so simple. Let's break down the whole idea into bits:


Button Opens Map
Choose an input, set it to whichever command it needs to open the map.
Same button switches action set.
First, make sure you have another Action Set. Bottom of left menu "Action Sets" -> Add Action Set under the list in the middle.
To the right of that binding, cogwheel -> Add sub command -> Action Sets -> Change Action Set.
Alternatively, you can add an extra command instead, but you should only do this if you have to change the Press style or its settings. But try sub command first; it's simpler.



From this point, make sure you switch to the Action Set you need with the bumpers. There's a regression bug in Steam Input; sometimes after leaving a binding, it will always default to changing the default Action Set. Double-check yourself which Action Set you're adjusting before editing new bindings.



In Map Action Set, button closes the map.
Should be easy, just make sure you're in the Map Action Set before changing. Add bindings for all known ways to use the map.
Button that closes map switches action set.
Same as before. Make sure you're in Map Action Set, then on the "Close Map" binding, create sub command, Change Action Set to the first default set.
Something to consider....
When you're in the map screen, are there other ways to close the map? (For example, if Select is Map, but in Map, both Select and B close the map). If so, you also have to add sub commands to those inputs, or you may close the map but stay in the Map Action Set.

I also like to have an unused/underused button or function that only switches the action set without closing the map, in case something gets stuck in the layout.
cybin Jul 28, 2024 @ 6:54pm 
If there isn't a cursor displayed in normal gameplay, but there is when using the map & menu, I'd recommend checking to see if Steam can detect that. That would make it really easy to setup alternate controls without ever needing to worry about getting stuck in the wrong action layer.
Just_Little_Ghost Jul 29, 2024 @ 2:17am 
I replied yesterday but something went wrong and the reply disappeared.
So, let's try that again:

I managed to get it working...somewhat.

I did exactly what DaMu said (before he/she posted) so it's good to know that I'm in the correct train if thought.

However, sometimes it triggers, sometimes it doesn't.
In the beginning it seemed to work 95% of the time but the last hours of gameplay it seemed to trigger only 20% of the time.

I've been experimenting a bit with trigger delays to see if that gives it more time to register but I'm not sure it helps (at first it seems to help but later on it doesn't).

I'm also not sure how I need to interpret and implement the start en end firing delay, especially with regard to where to implement which delay.

I don't know about the cursor thing.
I saw something about it but was already invested in the other "option". I'll definitely look into it though, since it sounds like it would make life a whole lot easier.
Just_Little_Ghost Jul 29, 2024 @ 7:38am 
Ok. I just tried the following:
I removed the "switch action set" command (leavindlg only the "open map" command) and srtting the global set options to:
Action set when cursor shown: map
Action set when cursor hidden: default

This did not work.
I think this greatly depend on whether the cursor that is being used is a "standard" cursor or a "custom" cursor (like a hand cursor or something along those lines).
...OR... it might not work for non-steam games.

So; for now the "when cursor active/hidden" does not work (for this instance/game).
This leaves me with the (inconsistent) button to show map and switch action set.

I will keep trying/testing and keep this thread updated.
Meanwhile, any ideas on fixing the inconsistency are welcome.
Last edited by Just_Little_Ghost; Jul 29, 2024 @ 7:43am
Just_Little_Ghost Jul 29, 2024 @ 10:35am 
Update: I noticed that when I press the button and nothing happens, yet the prompt tells me the action set changes and I press it again, it goes to the map (makes no sense) and changes the action set again (back to default, makes sense)...
Not sure what I can fi with this info but for now this is a new finding :)
DaMu Jul 29, 2024 @ 12:17pm 
Originally posted by Just_Little_Ghost:
Update: I noticed that when I press the button and nothing happens, yet the prompt tells me the action set changes and I press it again, it goes to the map (makes no sense) and changes the action set again (back to default, makes sense)...
Not sure what I can fi with this info but for now this is a new finding :)
I'm trusting that you can open the map normally without issues with a button press (before applying any Action Sets), and that the default action set has the correct binding for opening the map.

If so, maybe the key binding needs to be fired differently than a regular key press. It doesn't make sense for something like opening a map, but that's all I can see what is happening here...

One different thing you can try is to change the press type from Regular Press to Release Press. This should only fire once you release the button, and as long as Change Action Set is a sub command, that also should only change on release.

Perhaps the game needs time to open a map, so that would explain if you must have a fire start delay, use an extra command instead of a sub command, and apply around 200ms or so only for the Change Action Set binding.
DaMu Jul 29, 2024 @ 12:18pm 
Originally posted by cybin:
If there isn't a cursor displayed in normal gameplay, but there is when using the map & menu, I'd recommend checking to see if Steam can detect that. That would make it really easy to setup alternate controls without ever needing to worry about getting stuck in the wrong action layer.
This is a good idea to try, but I do fear that it depends on how the game interprets or uses a cursor. If it's a custom cursor only for the game, it may not work. In my experience, this worked only for old Windows titles.
I changed the "sub command" to an "extra command" and added a "fire start"- and "Fire end delay" for both of them so the first one doesn fire directly an so that second command fires a little after the firs one ends. This seemed to have solved the problem because I haven't had any problems since I added these delays.
< >
Showing 1-8 of 8 comments
Per page: 1530 50