BrassEm Posted November 4, 2017 Posted November 4, 2017 G'day, I have an arduino joystick that works as a standard windows joystick. I have allocated and tested it as working in windows 10 as a device switch and it is to be used for the EJECT button in DCS. The EJECT keyboard press requires <CTRL + E> to be pressed three times to activate, however I need to press the joystick EJECT button ONLY ONCE to activate it, but this does not work. Before re-inventing the wheel, has anyone got the EJECT input to work on one activation? More so with an input rather than a keypress? Cheers, www.brass-em.com
hannibal Posted November 4, 2017 Posted November 4, 2017 i have done it using two joystick mappers using button 1, for example you have to set one joystick mapping program to map as if the button 1 as the "left shift" key and then you ALSO have to have the second mapping program to also map button 1 as the "E" key. i like using controlMK and joy2key as a button mapper. you are welcomed to try this (this is something i have not tested because my joysticks are stored away) maybe you want to try to use one mapping program and only map button 1 as left shift, and also set in the DCS commands to set eject as "button 1" (again using button 1 as an example) find me on steam! username: Hannibal_A101A http://steamcommunity.com/profiles/76561197969447179
Chic Posted November 4, 2017 Posted November 4, 2017 G'day, I have an arduino joystick that works as a standard windows joystick. I have allocated and tested it as working in windows 10 as a device switch and it is to be used for the EJECT button in DCS. The EJECT keyboard press requires <CTRL + E> to be pressed three times to activate, however I need to press the joystick EJECT button ONLY ONCE to activate it, but this does not work. Before re-inventing the wheel, has anyone got the EJECT input to work on one activation? More so with an input rather than a keypress? Cheers, VoiceAttack A Co, 229th AHB, 1st Cav Div ASUS Prime Z370-A MB, Intel Core i7 8700K 5.0GHz OC'd, RTX 3090, 32GB DDR4, 1TB SSD, Win 10 Samsung 65" 4K Curved Display (Oculus Rift occaisionally), Track IR5, VoiceAttack, Baur's BRD-N Cyclic base/Virpil T-50CM Grip, UH-1h Collective by Microhelis & OE-XAM Pedals. JetSeat & SimShaker for Aviators. JUST CHOPPERS
BrassEm Posted November 4, 2017 Author Posted November 4, 2017 I have a microswitch connected up to this EJECT handle which runs through as a switch on an Arduino Joystick. I would like to only pull the handle once to activate the EJECT sequence in DCS rather than three times. I was thinking it would be an edit to an input LUA file but did not find anything, hence my question if anyone else has found a solution. www.brass-em.com
Chic Posted November 4, 2017 Posted November 4, 2017 (edited) Voice Attack will output [RCtrl + E times 3] in response to a single input from your Arduino joystick switch. No voice command needed. Edited November 4, 2017 by Chic 1 1 A Co, 229th AHB, 1st Cav Div ASUS Prime Z370-A MB, Intel Core i7 8700K 5.0GHz OC'd, RTX 3090, 32GB DDR4, 1TB SSD, Win 10 Samsung 65" 4K Curved Display (Oculus Rift occaisionally), Track IR5, VoiceAttack, Baur's BRD-N Cyclic base/Virpil T-50CM Grip, UH-1h Collective by Microhelis & OE-XAM Pedals. JetSeat & SimShaker for Aviators. JUST CHOPPERS
BrassEm Posted November 4, 2017 Author Posted November 4, 2017 (edited) Voice Attack will output [RCtrl + E times 3] in response to a single input from your Arduino joystick switch. No voice command needed. Thanks Chic, that was exactly what I was looking for, and more with the voice recognition. Edited November 4, 2017 by BrassEm www.brass-em.com
Goblin Posted November 5, 2017 Posted November 5, 2017 Or you can program the arduino to give out repeated signals. I built my ejection handle using a teensy and the MMJoy2 firmware. When the handle is pulled, a switch closes and it sends repeated signals until I replace the handle again. Here’s a link to my thread about a single eject command, which I still think should be implemented :) https://forums.eagle.ru/showpost.php?p=2934886&postcount=27
Fisherman82 Posted November 5, 2017 Posted November 5, 2017 i have done it using two joystick mappers using button 1, for example you have to set one joystick mapping program to map as if the button 1 as the "left shift" key and then you ALSO have to have the second mapping program to also map button 1 as the "E" key. i like using controlMK and joy2key as a button mapper. you are welcomed to try this (this is something i have not tested because my joysticks are stored away) maybe you want to try to use one mapping program and only map button 1 as left shift, and also set in the DCS commands to set eject as "button 1" (again using button 1 as an example)I use joy2key for this to but I only use that and have it set up so it presses the buttons 20 times per second. Skickat från min D5503 via Tapatalk
Recommended Posts