Quote:
Originally Posted by Sokol1
MikkOwl,
Is possible a version with "separated_engine_buttons" that support toggle switch, say: switch up, engine ON, switch down engine OFF.
[seperate_engine_buttons]
TOGGLE_ENGINE_1_KEY=1joy23
TOGGLE_ENGINE_2_KEY=1joy24
TOGGLE_ENGINE_3_KEY=no
TOGGLE_ENGINE_4_KEY=no
FEATHER_PROP_1_KEY=no
FEATHER_PROP_2_KEY=no
FEATHER_PROP_3_KEY=no
FEATHER_PROP_4_KEY=no
Cause:
Sokol1
|
It is absolutely possible, in fact that is what I wrote for myself and used for a while (before releasing version 3.1). I will put this into version 3.3.
By the way, very nice switches you have there. I always wanted metal proper switches like that.
The engine on/off as seperate buttons work like this (up/down, choose yourself):
Switch up = Engine Start: selects the engine and presses 'toggle engine' function.
Switch down = Engine Stop: selects the engine and moves magnetos all the way to "off" and then up to "1+2" again. This shuts off the engine no matter what it is doing.
Note: when people use buttons, if it was only like this, the 'Engine Start' button would also turn off an engine that is running. To prevent this, the engine start button can only be pressed once - if the engine then does not start (engine restart in air etc), one must press the "Engine Stop" once, and then try the "Engine Start" again. This is not a problem for people like Sokol with two state switches, as it is not possible to press the switch twice - it moves between two states only - to press a switch again the switch must be moved to the 'off'.
This also means the program must be told if we spawn in the air (engine already on) or on the ground (engine off). Unless someone thinks of a better solution to avoid the 'engine start' shutting the engine off if pressed when engine is already running...
Hmm. Maybe I will leave it simple and allow the 'engine start' to also shut the engine off if pressed again. Switch people have no problems with this, and not many people without switches would want 3 buttons for each engine anyway to justify implementing a 'air/ground' extra button and the extra programming and documentation.