Cockpitbuilders.com

Main => General Discussion Board. => Topic started by: mgovernali on June 09, 2018, 07:41:20 PM

Title: Any way to make a keyboard key pause an external device?
Post by: mgovernali on June 09, 2018, 07:41:20 PM
Hello You Guys.,I need to find a way to map a key on the keyboard ( i.e. the "P" Key) which would pause the sim (that's easy of course) but also simultaneously cut the power to an external device.Thank you everyone.
Marco.  :idiot:
Title: Re: Any way to make a keyboard key pause an external device?
Post by: Atomic_Sheep on June 10, 2018, 01:43:14 AM
Seems like a good way of doing it. I think it should work. I guess to test just try and press the pause button and if it doesn't start pausing and unpausing really quickly, you're fine to use a toggle switch.
Title: Re: Any way to make a keyboard key pause an external device?
Post by: mgovernali on June 10, 2018, 11:23:18 AM
Thank you Dimitri. I had a hard time sleeping last night because I was thinking about how to implement this LOL> And I actually realized that the switch needs to be a 3 position switch, On-Off-On. Otherwise, depending on the switch position the sim is started at, it could end up pausing the sim on either position. So with a 3 way switch, the sim would always be started in the center (off) position, then it would be moved down to the sim paused - counter off position, then to the up position sin on - counter on position. Then when finished, the switch would be moved to the middle position once more. I guess the only thing I can't remember right now is: can fsuipc be told to pause the sim while the switch stays on the on position, in other words, can a toggle switch be made to give a momentary command? I think it can, because in my own sim, I have toggle switches on the f 747 fuel control panel which engage the stabilizers on or off via a toggle switch, I believe each command has a "once" or a "continuous" option. Can you guys please comment on this? Much appreciated. Marco