Mugz Posted March 18, 2021 Report Share Posted March 18, 2021 Hi FSUIPC can operrate with K: events of MSFS? For example writing 1 to K:TOGGLE_AIRCRAFT_EXIT_FAST will open/close main door Link to comment Share on other sites More sharing options...
Pete Dowson Posted March 18, 2021 Report Share Posted March 18, 2021 2 hours ago, Mugz said: FSUIPC can operrate with K: events of MSFS? Aren't K events the normal Key Events known in FSUIPC as assignable controls? (Sorry, unlike John, I'm not familiar with all these Panel XML codes). Pete Link to comment Share on other sites More sharing options...
Mugz Posted March 19, 2021 Author Report Share Posted March 19, 2021 6 hours ago, Pete Dowson said: Aren't K events the normal Key Events known in FSUIPC as assignable controls? I don't know, but i dont find how to send Key Events through FSUIPC Link to comment Share on other sites More sharing options...
Mugz Posted March 19, 2021 Author Report Share Posted March 19, 2021 I mean, can i use it from any soft connected to FSUIP? Not fully understand how it work. First time with it Link to comment Share on other sites More sharing options...
Pete Dowson Posted March 19, 2021 Report Share Posted March 19, 2021 2 hours ago, Mugz said: i dont find how to send Key Events through FSUIPC Within FSUIPC you assign to the list of controls (== Key Events) in the assignment facilities. From a Lua plug-in you'd use the ipc.control function, and from an external program interfacing via the offsets you'd use the facilities at offset 3110. For the latter see the supplied document FSUIPC Offsets Status. For the numerical equivalents of the Key Events you need to refer to the list of current controls. I'll have to ask John about the FSUIPC7 one. Pete Link to comment Share on other sites More sharing options...
John Dowson Posted March 19, 2021 Report Share Posted March 19, 2021 12 hours ago, Mugz said: FSUIPC can operrate with K: events of MSFS? Currently, you can use MSFS K: events with MobiFlight + FSUIPC. There is a tutorial explaining how to do this here. I am currently looking into adding support to access L: and H: vars directly in FSUIPC. I wasn't planning on adding K: vars at the moment, but this should also be possible. I may also supply a general method to execute user-supplied calculator code, which would also allow access to K:Vars. John Link to comment Share on other sites More sharing options...
John Dowson Posted March 19, 2021 Report Share Posted March 19, 2021 13 hours ago, Mugz said: For example writing 1 to K:TOGGLE_AIRCRAFT_EXIT_FAST will open/close main door There is also a standard control/event for the - Toggle Aircraft Exit Fast. Have you tried that? Link to comment Share on other sites More sharing options...
Mugz Posted March 19, 2021 Author Report Share Posted March 19, 2021 8 hours ago, John Dowson said: There is also a standard control/event for the - Toggle Aircraft Exit Fast. Have you tried that? Yes. It work from FSUIPC interface. It's also can used from external app connected to FSUIPC? Link to comment Share on other sites More sharing options...
John Dowson Posted March 19, 2021 Report Share Posted March 19, 2021 Just now, Mugz said: It's also can used from external app connected to FSUIPC? Yes, I don't see why not. Depending on the app, but if it uses offsets then you can use the general control offset at 0x3110 with control number 68536. For the control numbers for each event, there should be an automatically generated document in your FSUIPC7 documentation called Controls List for MSFS Build 999.txt, which shows the control/event numbers, i.e. 68536 TOGGLE_AIRCRAFT_EXIT_FAST John 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