Thomas Richter Posted August 6, 2016 Report Posted August 6, 2016 By mistake I deleted this Topic, sorry for that. But I found the content, original from 4.08.2016 by Normana Hi everyone, I'm very new to the forum, so please forgive me if I open a can of worms here and this have already been discussed to death. I've read some of the pass posts and topics of buttons, and Pete wonderful guide on (advanced Users guide) Adding offset conditions, but still struggling to try and achieve what I would like to do, maybe its all in there and I have just miss read or understood something. Basically I have several toggle switches and they are wired to a game controller, its actually a desktop aviator card with 36 connections. when I flip a toggle switch one way, the response is computer picks up is a 1/2sec button press so in other words a momentary push switch. (yes the toggle switch is a momentary push switch So following the guides and advanced users guide I've com up with the following three lines of script. [Buttons.pmdg737] 1=P0,11,C1005,3842 -joy 0 button 11, toggle flag, 256 * joystick 15 + button 2 2=CP(F+15,2)0,11,69633,0 - condition ( joystick 15,2)physical control, pmdg offset 69633, set 0 3=CP(F-15,2)0,11,69633,1 - condition ( joystick 15,2)physical control, pmdg offset 69633, set 1 maybe I'm not too far away from solution?, but I would like the button here (physical toggle switch that acts like a button) to move in the opposite direction to which it is currently in based upon a button press. maybe someone solved this problem 10 years ago and I just haven't come across it yet. Many thanks for reading. Norm
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now