WhiteMagic / JoystickGremlin

A tool for configuring and managing joystick devices.
http://whitemagic.github.io/JoystickGremlin/
GNU General Public License v3.0
314 stars 46 forks source link

toggle back and forth between buttons. #321

Open muarqdnph4VPV6dyh opened 4 years ago

muarqdnph4VPV6dyh commented 4 years ago

Hi,

can someone please help me, I am struggling to configure a condition. I want Joystick Gremlin to do the following: if I press button 1, button 1 should turn and stay on and button 2 should turn and stay off if I press button 2, button 2 should turn and stay on and button 1 should turn and stay off So it should switch back and forth between the two buttons.

Thank you very much

WhiteMagic commented 4 years ago

You don't need conditions for this, all that is needed is a macro that performs the two actions you outline. The attached image is the macro assigned to button 1. You'll have to create a second one on button 2 which does the inverse.

image