olealm Posted April 18, 2012 Report Share Posted April 18, 2012 Hi, I am trying to set up a joy button to toggle the NGX Capt "Meters" readout by assigning a <custom control> to 69996 (which should be "EVT_EFIS_CPT_MTRS") with parameter x01. Pressing the button enables meters readout on the PFD, but at next press it still stays on. Tried setting up an event setting 69996 back to zero upon button release, but then meters readout are only active as long as the button is pressed. Seems the control directly controls the PMDG meters-function, ie not the button-function itself? If this is so, is there way around this without "advanced" programming (which would be a challenge..)? Ole Link to comment Share on other sites More sharing options...
Pete Dowson Posted April 18, 2012 Report Share Posted April 18, 2012 I am trying to set up a joy button to toggle the NGX Capt "Meters" readout by assigning a <custom control> to 69996 (which should be "EVT_EFIS_CPT_MTRS") with parameter x01. Pressing the button enables meters readout on the PFD, but at next press it still stays on. Tried setting up an event setting 69996 back to zero upon button release, but then meters readout are only active as long as the button is pressed. Certainly the parameter needs to be 1 for Metres and 0 for feet. You'd either need to use a toggle switch or use the button flag to turn the button into a toggle. is there way around this without "advanced" programming (which would be a challenge..)? Using button flags to turn a momentary button into a toggle isn't "advanced programming2. It isn't actually "programing" at all, just paramter or configuration setting. Simply make the action conditional on the button's own flag, like this in the INI file CP(F+j,b)j,b,C69996,0 CP(F-j,b)j,b,C69996,1 where j = joystick number (0-15) and b = button number (0-31). It wouldn't be quite so asy if your button is on a wideFS client or is from a GoFlight device as the joystick number would not be in a valid flag range. Let me know. Pete Link to comment Share on other sites More sharing options...
olealm Posted April 18, 2012 Author Report Share Posted April 18, 2012 Certainly the parameter needs to be 1 for Metres and 0 for feet. You'd either need to use a toggle switch or use the button flag to turn the button into a toggle. Ok, I simply misunderstood. The EFIS Meters button is as far as I know momentary, and I thought 69996 was the control for the button function, the "input" to the PMDG logics. CP(+Fj,b)j,b,C69996,0 CP(-Fj,b)j,b,C69996,1 Works like a charm! (F+j,b instead of +F... made it work, anyway). Thanks for the rapid suppport! Link to comment Share on other sites More sharing options...
Pete Dowson Posted April 18, 2012 Report Share Posted April 18, 2012 The EFIS Meters button is as far as I know momentary, and I thought 69996 was the control for the button function, the "input" to the PMDG logics. Well i assume they've implemented it like that so you can do it all ways. Many FS controls have "toggle", "on" and "off" variants, Works like a charm! (F+j,b instead of +F... made it work, anyway). Oh, i keep making that mistake! Sorry. glad you sorted it anyway. I edited my original to fix the error in case anyone else copies it without reading further! Regards Pete Link to comment Share on other sites More sharing options...
olealm Posted April 19, 2012 Author Report Share Posted April 19, 2012 ok, I'm working with PLC programming in my dayjob, used to thinking - check inputs - logics - update outputs :) Another quick question if I may: I just bought Prepar3D. Can i use the same FSUIPC License for this? Are FS and compatible Addons offsets in P3D same as FSX? I.e. can I copy the FSUIPC.INI file (or at least the buttons and joy setup) from FSX? Link to comment Share on other sites More sharing options...
Pete Dowson Posted April 20, 2012 Report Share Posted April 20, 2012 I just bought Prepar3D. Can i use the same FSUIPC License for this? Yes. Are FS and compatible Addons offsets in P3D same as FSX? I.e. can I copy the FSUIPC.INI file (or at least the buttons and joy setup) from FSX? Yes, yes, all of it Regards Pete Link to comment Share on other sites More sharing options...
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