Keyboard mappings of bangs - who do they behave like toggles

A.M.'s icon

I'm trying the new mapping feature in Max8 but I don't understand its behavior on bangs.
If I click on a bang, its normal behavior would be to go from 0 to 1 and then to 0 again. That's what makes them different from toggles (that go from 0 to 1 and they stay there until you don't press them again).
However, mapping a key on a bang, seems to make them behave like toggles. Any way around this?

broc's icon

You could try using a [live.text] button instead and send its output via [t b] back to the input for an immediate reset. This trick works well for me with M4L/Max7.

A.M.'s icon

Thanks! What's the difference between live.text and a regular button?

A.M.'s icon

Other than the graphics I mean.

broc's icon

Both have basically the same effect but apparently a different implementation. For example, in M4L/Max7 mapping to the regular button was not possible at all. Now, in Max8 mapping is possible but I found that loopback from output to input leads to a stack overflow.

A.M.'s icon

Yeah, I worked out where the problem lies: opening the map from the [mapping} (can't remember if it's mapping or mappings) you need to change the trigger mode from toggle to button. However, changing it to button doesn't work. I think it's a bug..

broc's icon

Try to change trigger mode to button in the inspector, before mapping.

A.M.'s icon

It doesn't't work for me. Even if I try mapping a bang (which I don't even think could be changed to behave as a Toggle).

A.M.'s icon

UPDATE: changing the behavior to "momentary switch" works.