Steam Controller

Steam Controller

ThreeSon Mar 20, 2022 @ 4:42pm
Is it possible to create this specific toggle/hold button configuration?
I need some assistance with a configuration I am trying to create. What I want to do is have two controller buttons assigned to a single 'Crouch' keyboard key in the game Half-Life 1, with the following specific behavior:

- If character is standing and button 1 is pressed, character crouches. Character continues crouching for as long as button 1 is held but stands when released.
- If character is standing and button 2 is pressed, character crouches and stays crouching after button 2 is released (toggle on).
- If character is crouching (button 2 toggle on) and button 2 is pressed and released, character stands (toggle off).
- If character is crouching (button 2 toggle on) and button 1 is pressed and released, character stands (toggle off).

This seems simple but so far I have been unable to find a combination of settings that offers the correct behavior. I have tried various combinations of Regular/Start/Release activators, the toggle setting, and the cycle binding setting, but so far nothing has worked 100% the way I want it to.

The closest I have gotten so far is with Button 2 assigned as a normal press with toggle and Button 1 assigned as a normal press without toggle. This works except for a common, annoying occurrence:

1) Button 2 is pressed and released - character crouches
2) Button 1 is pressed and released - character stands
3) Button 2 is pressed and released - nothing happens
4) Button 2 is pressed and released again - character crouches

I would like to get rid of that "dead press" that happens at step 3, so that regardless of whether button 1 or button 2 is used to make the character stand, either button will make the character crouch again the very next time it is pressed.
Last edited by ThreeSon; Mar 20, 2022 @ 4:47pm
< >
Showing 1-1 of 1 comments
ugafan Mar 21, 2022 @ 6:44am 
You can do this with an action layer.

Button 1 = Crouch (Toggle Off)
Button 2 = Apply Action Layer

Action Layer
Button 1 = Remove Action Layer
Button 2 = Crouch (Toggle On)
< >
Showing 1-1 of 1 comments
Per page: 1530 50