You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps a clearer explanation is on my original Discord post.
Was asked to report it here as a bug.
Describe the bug
The option "Automatically perform retrigger action" can not be used where inputs are defined with both a long-push and short-push option.
Steps To Reproduce
Set up a button to do a short-push and long-push as follows:
On Press - nothing (otherwise it will execute every time)
On Release - put the short-push command here
On Hold - put the long-push command here with the time delay
On Long Release - put a dummy command e.g. a 0 here - required to make the button into a "long-push" button
Enable the option "Automatically perform retrigger-action with "run"-mode"
Run the profile.
Expected behavior
Because an "On Long Release" is set, MobiFlight should not send the "On Release" defined in the config.
Actual behavior
The button is detected as released, so the "On Release" command is sent.
Details
MobiFlight Version: 10.4.0
FlightSim: MSFS2020
Additional context
My own suggestion on the Discord post was to resolve this by having a checkbox on the config's input page "Exclude from Retrigger-action on Run"
Tuomas had maybe the better suggestion - that it could be automatically excluded from the retrigger if a long-push ("On Long Release") is defined in the input config
The text was updated successfully, but these errors were encountered:
circuitavionics
changed the title
"Long Push" inputs cannot be used with Retrigger Actions
Exclude "long-push" inputs from "Retrigger Action with Run"
Nov 17, 2024
Also, the point of retrigger functionality is to sync the current physical switch state with the simulated aircraft, in case some toggle switches are left ON and the plane loads with them off, for example. This really happens only with toggle or latching switches.
So "long press" does not exist in that context - long press happens mostly on pushbuttons that never stay pressed on their own.
Perhaps a clearer explanation is on my original Discord post.
Was asked to report it here as a bug.
Describe the bug
The option "Automatically perform retrigger action" can not be used where inputs are defined with both a long-push and short-push option.
Steps To Reproduce
Set up a button to do a short-push and long-push as follows:
On Press - nothing (otherwise it will execute every time)
On Release - put the short-push command here
On Hold - put the long-push command here with the time delay
On Long Release - put a dummy command e.g. a 0 here - required to make the button into a "long-push" button
Enable the option "Automatically perform retrigger-action with "run"-mode"
Run the profile.
Expected behavior
Because an "On Long Release" is set, MobiFlight should not send the "On Release" defined in the config.
Actual behavior
The button is detected as released, so the "On Release" command is sent.
Details
Additional context
My own suggestion on the Discord post was to resolve this by having a checkbox on the config's input page "Exclude from Retrigger-action on Run"
Tuomas had maybe the better suggestion - that it could be automatically excluded from the retrigger if a long-push ("On Long Release") is defined in the input config
The text was updated successfully, but these errors were encountered: