Steam Controller

Steam Controller

Atrum Ruina Jun 12, 2020 @ 9:35pm
Release toggle by pressing a button?
I have a setup that has an Interruptible Regular Press and Long Press Toggle for the B button. The purpose is to hold a button to initiate a hold (charging the gun in game) but still be able to tap it to fire. Mostly, this works well, however when I want to reactivate the Toggle, the previous Long Press never ended, so I have to do a brief Long Press then redo it to initiate the toggle again.

It's a minor issue but I'm wondering if there's a way to end the Long Press Toggle by tapping B.
Originally posted by shadowboy813:
Basically what is happening is that you bound B long press to B, with the toggle field on, the first time you long press, it registers a start press, the second time it registers a release press, then your third long press is a start press, etc.

Instead of setting long press to B with a toggle, change it to "Apply action layer" and in that action layer set B to always on (the binding where the infinity symbol is in the lower left).

Then for your regular press activator have it remove the action layer (set the action layer removal inside the action layer but also copy the regular press activator from the base action set so that it still fires when you press the button).

Using different buttons/activators to initiate/terminate a toggle is an excellent use-case scenario for action layers.
< >
Showing 1-2 of 2 comments
The author of this thread has indicated that this post answers the original topic.
shadowboy813 Jun 12, 2020 @ 10:34pm 
Basically what is happening is that you bound B long press to B, with the toggle field on, the first time you long press, it registers a start press, the second time it registers a release press, then your third long press is a start press, etc.

Instead of setting long press to B with a toggle, change it to "Apply action layer" and in that action layer set B to always on (the binding where the infinity symbol is in the lower left).

Then for your regular press activator have it remove the action layer (set the action layer removal inside the action layer but also copy the regular press activator from the base action set so that it still fires when you press the button).

Using different buttons/activators to initiate/terminate a toggle is an excellent use-case scenario for action layers.
Last edited by shadowboy813; Jun 12, 2020 @ 10:46pm
Atrum Ruina Jun 12, 2020 @ 11:37pm 
This seems to be working perfectly, thank you. I kinda figured that was the cause but wasn't sure what the workaround was. I'm still learning how to mess with the configurator and haven't done Actions Sets/Layers yet.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Jun 12, 2020 @ 9:35pm
Posts: 2