Questions about event triggers

  1. yes
  2. only the track player

In general, I don’t recommend using the EVENT_PRESSED / EVENT_RELEASED events, as they don’t play nicely with double-clicks and a variety of other things. Click events have a bunch of logic that makes it so that once an event has returned true, it won’t trigger more events, however, none of that logic applies to EVENT_PRESSED and EVENT_RELEASED events, and the assumption is that you will write your own logic if needed when using these events.

When you hold aux, press and release power, then release aux, you get:

AUX, PRESSED, OFF
POWER, PRESSED, OFF | AUX
POWER, RELEASED, OFF | AUX
AUX, RELEASED, OFF

Of course, if you release them in the other order, you get something different at the end.

1 Like