-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trigger multiple simconnect events with one button OR preset buttons for CJ4/Longitude Start/Stop buttons #111
Comments
Have you tried out the multi action button that streamdeck added? |
Fells more like a hack than a solution. Would it not make more sense for this to be part of the "suite"? That way the developer can control the gaps between fired events so they don't spam-kill the underlying SimConnect bridge as well as add a feature to the plugin, to keep it an AIO solution. SD's multi-action does not allow showing an on/off state or readout based on sim vars, so when a cockpit button is pressed, we don't see the state on the stream deck. No snark intended, just a proposition ¯_(ツ)_/¯. |
I have written a bit of my opinion on this in a reply in MSFS forum https://forums.flightsimulator.com/t/stream-deck-button-box-my-c172-implementation/229137/249. In brief, I think a SimConnect event should trigger panel logic, instead of the reverse implementation right now of any panel has a ton of logic and trigger a bunch of SimConnect events at the end. Adding enough options in the button so that you can replicate all those panel logic would make the button feels extremely complicated (e.g. the push pull logic of A320 has all kinds of if/else), while adding no options for those logical variation might not be good enough. However, since some already asked for multiple events for Generic Button, I have been keeping that feature in mind. I don't plan to rush on the feature though because right now we are working on some complicated features for the Generic Button (e.g. autocomplete, embed images), and I want to make sure the design for multiple events won't cause difficulty to our contributors or our users. Also, can I check what you mean by "still trying to figure out the other one". It would be best if we know what we aim for. |
The Start/Stop button performs multiple actions in the plane, almost like a macro. Opening/closing the fuel valves is one of them - just need to figure out which other actions it performs, so the startup could be done entirely via StreamDeck. |
I support the request fully. And I think I found out how it works currently: Engine Starter Switch hast to be TOGGLE_STARTER1 RUN/STOP Button is a StreamDeck Multi-Action-Switch containing:
and
Engine 2 is similar of course |
Nice! |
Have it tested again ...works here. Besure, to change all numbers for engine 2, like TOGGLE_FUEL_VALVE_ENG1 and MIXTURE1_ to TOGGLE_FUEL_VALVE_ENG2 and MIXTURE2_ |
Ah ok ... I see it now. So, we both do talk about the WT Mod, just to be clear? I had issues with my throttles. The above worked as long as I set my throttles in AAO as normal axis (should be similar in FSUIPC). Changed now the throttles to AXIS_THROTTLE!_SET etc and now, the startup above does not work ;) Will investigate |
In my case I'm trying on the Longitude - startup stops at 22% N2 and stays there, unless I turn that button to start via mouse. |
Looks like in the longitude, when I change engine 2 to
The starter is just TOGGLE_STARTER2 The same for the left engine... so a startup looks like this (last starter event fired twice because I clicked the button twice) Identical for the CJ4, so looks like the turbine ignition switch is what was missing! |
It is working in my case when I change Mixture_LEAN and Mixture_RICH |
Hmm.. side note here, but wonder why the turbine igintion switch event is coming from a different domain - |
It's weird - I guess as a workaround right now, I could bind the turbine ignition switch to a separate button on the streamdeck. Edit: |
I'm not sure simply adding the number behind the variable is the way to go :) |
For "Set" events, you have to put the parameter in the Toggle parameter textbox instead of appending to the event names. |
Oh if only MS followed conventions! The event sniffer in the screenshot above shows the event names and parameters that were fired by the sim when clicking cockpit buttons. |
Ah I misread your previous log. The number is actually there for the engine index. Yeah I wish Asobo would stick to adding About the I have also tried a bit with the events you mentioned on CJ4. |
Guess the CJ4 doesn't need |
I have added |
Some planes, like the CJ4 and Longitude in MSFS have a start/stop button which performs multiple actions in the sim.
As far as I can tell
TOGGLE_FUEL_VALVE_ENG1
(and 2) is one of them, still trying to figure out the other one.It would be nice if the
Generic Toggle Button
could toggle multiple events in the sim to satisfy this use case.Perhaps a text box of comma-separated events?
Another option would be to simply figure those events out on your end and add them to the list of actions for the
Preset Toggle Buttons
action.The text was updated successfully, but these errors were encountered: