Jump to content
The simFlight Network Forums

Controlling PMDG directly from the FSUIPC SDK


Recommended Posts

Hi, is there a way of directly sending events to PMDG through the FSUIPC_Write call ?

 

My program can successfully toggle the Pause control so I know it works using FSUIPC offset 0x262.

FSUIPC_Write(0x262, 2, 1, &dwResult);

FSUIPC_Process(&dwResult);

 

But it doesn't work if I try to use 0x1123D, which is the event for Left CDU letter 'A' with the LEFT_MOUSE_SINGLE parameter 0x20000000 i.e.

FSUIPC_Write(0x1123D, 4, 0x20000000, &dwResult);

FSUIPC_Process(&dwResult);

 

I realise I can do it indirectly via calling a Lua script through 0xd6c & 0xd70 or by talking directly with SimConnect.

--------------------------------------

P3D v3.4.18.19475

SimConnect v3.4.0.0

FSUIPC v4.959

hidmacros v2.3.0.710

Link to post
Share on other sites
1 hour ago, lidders said:

But it doesn't work if I try to use 0x1123D, which is the event for Left CDU letter 'A' with the LEFT_MOUSE_SINGLE parameter 0x20000000 i.e.

MOVED TO SUPPORT FORUM -- THIS IS NOT A USER CONTRIBUTION!

Events are NOT offsets! Events are actions, requests, or controls. Offsets are locations in memory which provide or accept data.

You can send controls via offsets by writing control number and parameter to offset 0x3110. Please look it up in the Offsets Status list.

Pete

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.