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?