mouse click event in SimConnect

SDK supports Prepar3D’s philosophy of an open development architecture and encourages third parties to bring new innovations with improved add-ons and training content.
Locked
Leonid_0071
Posts: 1
Joined: Wed Feb 14, 2018 5:59 pm

mouse click event in SimConnect

Post by Leonid_0071 »

Hi,
i have a question:
in my program I try to handle the event of clicking the mouse button:

...
simconnect.MapInputEventToClientEvent(INPUT_GROUPS.GROUP0, "mouse:0:button:0", DEFINITIONS.EVENT_MOUSE_TESTDOWN, (uint)1, DEFINITIONS.EVENT_MOUSE_TESTUP, (uint)1, (bool)false);
...

p.s. If I similarly handle joystick events ("joystick:0:button:0") then everything works correctly.
Thanks for the help.
Sorry for my bad english.

Best regards,
Leonid
Locked