samainville Posted May 9, 2009 Report Posted May 9, 2009 Is there such utility where when we click a button on any instrument panel it reveals the codes from the fs2004 control list? Maybe it's under my nose somewhere and I'm missing it!
Pete Dowson Posted May 9, 2009 Report Posted May 9, 2009 Is there such utility where when we click a button on any instrument panel it reveals the codes from the fs2004 control list? Maybe it's under my nose somewhere and I'm missing it! For buttons which execute an FS control, you can find out the name and number of that control by using FSUIPC's logging facilities. you don't need a paid-for version of FSUIPC to use its logging. On the logging Tab in FSUIPC options, just put a check against the Event logging option, on the left-hand side. not the Axis events, though, or the log will be filled with events from your joystick! Operate the buttons and check the FSUIPC Log file for the details -- you'll find it in the Modules folder. Note that many instrument panel buttons and switches are interpreted directly in the Panel or gauge code and do not emit any FS control at all. Regards Pete
samainville Posted May 9, 2009 Author Report Posted May 9, 2009 When do we ever use the 6xxxx numbers from the list?
Pete Dowson Posted May 9, 2009 Report Posted May 9, 2009 When do we ever use the 6xxxx numbers from the list? The numeric equivalents of the named controls are really what FS understands internally. For an external program or a Lua program wishing to send a control -- either via FSUIPC offsets or, in the case of Lua plug-ins, via the appropriate Lua library call -- these values are essential. They are also used in the FSUIPC INI file to record assignments you make, so you'd need to know them when editing the INI file or macros directly, as folks do for more ambitious button programming. Regards Pete
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