Enabler Posted February 25, 2024 Posted February 25, 2024 I posted this in a Viper thread but it may be more appropriate here, so I will re-post. This is a very simple addition that would simplify bindings for scale pit makers. Is it possible to add single press ejection control and the seat arming into the control lua? It's an easy fix with just a couple lines of code in the lua. The code is available in the forums but must be added every time there is an update. It seems like this is a simple fix to paste it in as part of the standard programing and would make things a lot simpler for scale pit builders. Better yet would be to incorporate it into the ui across effective for all aircraft. {down = iCommandPlaneEject, pressed = iCommandPlaneEject, up = iCommandPlaneEject, name = _('Eject (press once)'), category = _('Systems')}, { down = cpt_commands.EjectionSafetyLever, cockpit_device_id = devices.CPT_MECH, value_down = 0.0, name = _('Ejection Safety Lever, LOCKED'), category = {_('Systems')}}, { down = cpt_commands.EjectionSafetyLever, cockpit_device_id = devices.CPT_MECH, value_down = 1.0, name = _('Ejection Safety Lever, ARMED'), category = {_('Systems')}}, { down = cpt_commands.EjectionSafetyLever, up = cpt_commands.EjectionSafetyLever, cockpit_device_id = devices.CPT_MECH, value_down = 1.0, value_up = 0.0, name = _('Ejection Safety Lever, ARMED/LOCKED'), category = {_('Systems')}}, 3 GD ViperWorks - YouTube F-16CM Block 50 Replica Sim Pit Construction
ShuRugal Posted February 25, 2024 Posted February 25, 2024 If Eagle does not move on this (or does not move quickly) another option for simpit makers is to have the ejection handle not directly connected to a switch, but to a sliding cam with 3 lobes which activate a momentary switch as the cam is pulled past it. Three pulses on the switch, one motion from the user. 1
II.JG1_Vonrd Posted February 25, 2024 Posted February 25, 2024 (edited) 2 hours ago, ShuRugal said: If Eagle does not move on this (or does not move quickly) another option for simpit makers is to have the ejection handle not directly connected to a switch, but to a sliding cam with 3 lobes which activate a momentary switch as the cam is pulled past it. Three pulses on the switch, one motion from the user. Many sticks / throttles have rotary encoder dials (my Virpil CM3 throttle has several). Encoders work by sending pulses. I would think that all you have to do is map the encoder as a single button press. When you rotate the dial, multiple button presses will be sent. I don't use this as I have VoiceAttack set-up for "Eject, Eject, Eject". Unfortunately, my Wife knows this and has snuck up behind me and yelled "Eject, Eject, Eject"... Edited February 25, 2024 by II.JG1_Vonrd 3
Dangerzone Posted February 26, 2024 Posted February 26, 2024 9 hours ago, II.JG1_Vonrd said: I don't use this as I have VoiceAttack set-up for "Eject, Eject, Eject". Unfortunately, my Wife knows this and has snuck up behind me and yelled "Eject, Eject, Eject"... Thank you for giving me a well needed laugh! She's one-upped Jester. There are some good workarounds here, but I agree with the OP that it would be handy to have an option for an ejection sequence that does not require repeats too! 1
ShuRugal Posted February 28, 2024 Posted February 28, 2024 On 2/25/2024 at 2:48 PM, II.JG1_Vonrd said: Many sticks / throttles have rotary encoder dials (my Virpil CM3 throttle has several). Encoders work by sending pulses. I would think that all you have to do is map the encoder as a single button press. When you rotate the dial, multiple button presses will be sent. I don't use this as I have VoiceAttack set-up for "Eject, Eject, Eject". Unfortunately, my Wife knows this and has snuck up behind me and yelled "Eject, Eject, Eject"... Using an encoder wheel is definitely another good option for pit builders to make a pull-handle that doesn't require special coding! 1
lmp Posted February 28, 2024 Posted February 28, 2024 (edited) It shouldn't be difficult to code it so that a single switch activation corresponds to three controller impulses. I would say it sounds way easier than the sliding cam solution. But this is coming from a decent coder and rubbish mechanic ;). Edited February 28, 2024 by lmp 1
Recommended Posts