12-24-2021, 07:02 AM
(12-23-2021, 11:46 PM)admin Wrote: According to the link above, I would try this:
fs2020_event("GPS_DIRECTTO_BUTTON", 2) - down
fs2020_event("GPS_DIRECTTO_BUTTON", 4) - up
I am not sure how AirManager handles mouse events, if it lets you have separate down/up events. If not, there will have to be a delay between the events so we would process them.
Please let us know if this works, if not we will analyze how to take it from here.
I'll give that a try and see how it works out. Was busy programming other Air Manager instruments for the new Daher Kodiak all day today, so never got a chance to try this. But since you've confirmed they're K events, that code should work out.
I haven't used K: events in my instruments yet, but I believe it would be fs2020_event("K:GPS_DIRECTTO_BUTTON", 2). Mouse down and up events are handled separately. It shouldn't be an issue at all.