Mugz Posted March 18, 2021 Report 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
Pete Dowson Posted March 18, 2021 Report Posted March 18, 2021 On 3/18/2021 at 8:32 PM, Mugz said: FSUIPC can operrate with K: events of MSFS? Expand 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
Mugz Posted March 19, 2021 Author Report Posted March 19, 2021 On 3/18/2021 at 11:11 PM, Pete Dowson said: Aren't K events the normal Key Events known in FSUIPC as assignable controls? Expand I don't know, but i dont find how to send Key Events through FSUIPC
Mugz Posted March 19, 2021 Author Report 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
Pete Dowson Posted March 19, 2021 Report Posted March 19, 2021 On 3/19/2021 at 5:57 AM, Mugz said: i dont find how to send Key Events through FSUIPC Expand 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
John Dowson Posted March 19, 2021 Report Posted March 19, 2021 On 3/18/2021 at 8:32 PM, Mugz said: FSUIPC can operrate with K: events of MSFS? Expand 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
John Dowson Posted March 19, 2021 Report Posted March 19, 2021 On 3/18/2021 at 8:32 PM, Mugz said: For example writing 1 to K:TOGGLE_AIRCRAFT_EXIT_FAST will open/close main door Expand There is also a standard control/event for the - Toggle Aircraft Exit Fast. Have you tried that?
Mugz Posted March 19, 2021 Author Report Posted March 19, 2021 On 3/19/2021 at 10:03 AM, John Dowson said: There is also a standard control/event for the - Toggle Aircraft Exit Fast. Have you tried that? Expand Yes. It work from FSUIPC interface. It's also can used from external app connected to FSUIPC?
John Dowson Posted March 19, 2021 Report Posted March 19, 2021 On 3/19/2021 at 6:39 PM, Mugz said: It's also can used from external app connected to FSUIPC? Expand 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
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