Steam Controller

Steam Controller

Swiss Dec 4, 2020 @ 5:37pm
Anyway to Create/Emulate a Long Start Press?
Hi there,

When opening my inventory the game uses a toggle, which I'm not a fan of, so I created a start/release press to convert said toggle into a hold, so now I hold down the button while I navigate and simply let go of the button once I'm done to get back into the action.

However, an issue arises when the button I use for the inventory is also the button I use to back out/cancel prompts, dialogue, and menus, as the start/release presses essentially create a double-tap that's only delayed by how long I hold the button down for, so when tapping the button to exit one of the aforementioned items above, instead of tapping once, it double taps, using the first tap to exit and the second tap to open the inventory, effectively inverting my setup.

The solution I thought of that doesn't involve me changing my bindings around is to add a long press to the start press activator, this will allow me to exit items by simply tapping the button once, but to open the inventory screen, I'll have to hold the button.

Unlike the long press, the long start press will immediately release the button once it has been triggered;
And unlike the start press, the long start press will wait a pre-determined amount of time before pressing the button in the first place.

Essentially creating a merge of the two.

If there is a way this can be done that someone has figured out, I'd be grateful to know, otherwise, I'd like this to be added as an actual feature I can utilise.

Thank you. :luv:
< >
Showing 1-3 of 3 comments
shadowboy813 Dec 4, 2020 @ 6:41pm 
Setting a toggle to a hold will do this if anything else uses that bind in a non-toggle manner.

I had a similar issue when I used an autohotkey script to turn the toggle crouch of doom 2016 into a hold-to-crouch button. If I held the crouch then, say, went into the menu, then it would invert the crouch because whatever the other binding is will "munch" the end crouch.

Try binding a long-press on this inventory to a start press activator for the inventory key, and also have the long press apply an action layer. In the action layer, set the release press to the inventory key again and also to remove the action layer. Remove the start press activator within the action layer (if you don't, you might get a double start-press activator, leading to premature closure of the inventory)

This will make it so a quick tap will function like a normal tap of the button, but a long press will open the inventory and go into the action layer, and then releasing the button will remove the inventory. The only way to get the release press activator will be long pressing to go into the action layer.

A hold action layer on the key for a long press activator might work, too, but I'm not sure if the release press activator within the action layer will work (if you use hold action layer, you might be able to get away with not using the remove action layer activator).

The only drawback is that opening the inventory will have a delay since you'll need to wait the long press time.
Last edited by shadowboy813; Dec 4, 2020 @ 6:44pm
cybin Dec 4, 2020 @ 6:44pm 
This should work:
Make a layer. Bind your start button to the ingame function (escape/start). In the activator settings, make it uninterruptible. Add a new activator, long press : Hold action layer "the one you just made".
In the layer, add a new activator to the start button. It will give you a dialogue box asking if you want to copy activators - select yes, because you want the "hold layer" binding to remain inside the layer. Make the new activator a release press and bind it to the ingame function (escape/start)
Swiss Dec 4, 2020 @ 10:06pm 
Alright, so I figured it out, I figured out that I'm a little stupid and should have done more testing first; apparently, the release press doesn't rely on a preceding start press, a release press will still work if a long press was used initially instead.

Thank you both for the advice anyway, I appreciate it.
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Dec 4, 2020 @ 5:37pm
Posts: 3