Page 1 of 1

Cyclic Button with permanent press?

Posted: Mon Nov 13, 2023 22:37
by Viking
Is there a way to have a (single) Cyclic Button whose output results in permanent button presses instead of a momentary one?

I would like to use that as a single button modal switch.

Re: Cyclic Button with permanent press?

Posted: Wed Nov 15, 2023 19:49
by Victorus

Re: Cyclic Button with permanent press?

Posted: Wed Nov 15, 2023 20:38
by Viking
I see. Thanks for the feedback! That‘s a pity though. Do you have any ideas how I could solve my problem then, cycling through up to five modes with a single switch?
I would like to use that for frequency tuning with a single K-Switch or encoder.

Man thanks in advance!

Re: Cyclic Button with permanent press?

Posted: Fri Nov 17, 2023 19:50
by Viking
Victorus wrote:https://www.njoy32.vkb-sim.pro/home/whats-new
No more CSW/RSW. V.2.170


I found a solution myself.

Rationale:
My plan is to use this functionality i.c.w. the encoder of the STEM module to adjust frequencies: consecutive presses of the encoder should select the frequency digit and turning it should adjust the frequency. That way I could tune the radio with just one encoder.

For anyone that is interested in the solution, I created an example where consecutive presses of Button 43 cycle through 3 different modes which create three different outputs of Button 48:

Step 1: Button 43 toggles through Virtual Buttons 100-102 with this Boolean function:

Screenshot 1.png


Step 2: The virtual Buttons 100-102 are now linked to a Modal Switch with three positions:

Screenshot 2.png


Step 3: And finally Button 48 uses that Modal switch to adress 3 different Logical Buttons:

Screenshot 3.png