Page 1 of 1

mouse click event in SimConnect

Posted: Wed Feb 14, 2018 6:18 pm
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