HoYa Posted June 20, 2020 Posted June 20, 2020 As I’m building my sim pit, I wired a switch to the armrest so when I pull it up it will act as an ejection handle, “pretty clever” so I thought ! However in DCS you have to hit it 3 times quickly, which is impossible the way I have it rigged. Is there anyway to make the ejection work with a single throw of a single long arm micro switch ?? Or did I totally waste my time and money ??
No1sonuk Posted June 20, 2020 Posted June 20, 2020 What are you using to trigger it? I tried looking in DCS-BIOS, but couldn't find an ejection control in there to test. If you're using a keyboard emulator, can you make it send a macro - send the key presses 3 times? Another way would be a 3-tooth rack that presses the switch as each tooth passes.
No1sonuk Posted June 21, 2020 Posted June 21, 2020 Sorry, I meant how you were connecting it to the computer. I just did an experiment with a Leo Bodnar board - the Joystick/switch BU0836A Using JoytoKey software, I set it up so that a button press in the Bodnar board auto repeats Lctrl+E at a rate of 3 per second while the button is pressed. That works perfectly. You just have to remove the existing bindings as DCS sees my board as a joystick. BTW, the A10 can fly for far longer than you might think with no pilot. ;)
No1sonuk Posted June 21, 2020 Posted June 21, 2020 Looks to me like that shows up as a USB joystick to the PC. If that's correct, as I said above, a joystick to keyboard emulator app like JoytoKey would work. If you don't want to go down that route, then the mechanical idea should be relatively easy to make. See attachment for the "rack" idea. Another version could use the handle to pull a cable attached to a spring-loaded disc with 3 (or more) lobes to press the switch multiple times as it rotates.
Darkowl Posted June 21, 2020 Posted June 21, 2020 Another approach would be to use a cheap arduino board. Define yout switch as input and send out 3 pulses when it is pressed. That is easy to be done in the arduino ide.
No1sonuk Posted June 21, 2020 Posted June 21, 2020 Another approach would be to use a cheap arduino board. Define yout switch as input and send out 3 pulses when it is pressed. That is easy to be done in the arduino ide. Send 3 pulses where? DCS-BIOS doesn't have an eject input. I didn't mention the extra electronics options as he mentioned "wasting money". Also, I didn't find enough information about his board to figure out if an open-collector output could be used in it. If that could work, it doesn't even need an arduino - a simple 555 timer could do it.
No1sonuk Posted June 21, 2020 Posted June 21, 2020 Joytokey worked PERFECTLY, thanks !!!!! :thumbup: You'll probably find more things to do with it now. :)
Goblin Posted June 24, 2020 Posted June 24, 2020 My ejection handle use a teensy2 microcontroller with MMJoy2 firmware which makes a USB gamecontroller in windows. I then have a regular door alarm magnetic switch that closes when the magnet is removed. MMJoy2 software allows the teensy2 to output repeated button presses when the switch is closed. Works really great! The one in this video uses a regular microswitch that closes when the handle is pulled. 1
Recommended Posts