View Single Post
Old 07-03-2018, 05:43 AM   #1482
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,235
Default

Quote:
Originally Posted by MixMonkey View Post
It's always a cycler in the .rst. A cycler with 2 steps is a toggle, number of steps defined in the .axt/.fxt.

I'm guessing that's easier to say than do
Well...

Currently a Button always outputs a 1, meaning go to next cycle, Play, Stop, Record, etc.

A ToggleButton outputs a 1 or a 0, depending on what it sent previously.

What we want to do is move that different behaviour to the .axt/.fxt.

So...

What should happen...

The Button ALWAYS outputs a 1.

The .axt/.fxt then interprets the 1 as either a push or a toggle, or anything else it pleases.

That way we haven't tied the push/toggle to the button.

That decision will now be in the .fxt/.axt, allowing us to define different behaviours for the same button on different pages.

The way it is now the rotaries on the MCU/XT are defined as Buttons and the rotaries on the C4 are defined as ToggleButtons in the .rst.

That means you are stuck with that behaviour, no matter which page you are on.
__________________
To install you need the CSI Software and Support Files
For installation instructions and documentation see the Wiki
Donate -- via PayPal to waddingtongeoff@gmail.com
Geoff Waddington is offline   Reply With Quote