mouse click event in SimConnect

Leonid_0071
Posts: 1
Joined: Wed Feb 14, 2018 5:59 pm

mouse click event in SimConnect

Postby Leonid_0071 » Wed Feb 14, 2018 6:18 pm

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

Return to “Software Development Kit (SDK) Questions”

Who is online

Users browsing this forum: No registered users and 1 guest