PMU Press/Hold Switch

Hi,

In the PMU, I created a Switch, set its Switch Type to Press/Hold Switch, and set the Last State to 2. The Input Channel Up is connected to a button on the steering wheel.

What I’m trying to achieve is:

A short press of the button should trigger a Flash function (e.g., flash high beams),

A long press should turn on the low beam.

However, after setting everything up, I noticed that when I perform a long press on the button, the Switch state transitions from 1 to 2. This causes the Flash function (linked to state 1) to trigger before the long-press action (state 2) can activate the low beam.

Is there a way to prevent the short-press function from being triggered when I perform a long press?

cool suit + helmet blower button sequence.pmu (4.1 KB)

I had a similar want for a single CAN button to control a helmet blower and cool suit. it was complicated but take a look at the attached file for how I did it