Open-Agriculture / AgIsoVirtualTerminal

A free, experimental ISO11783-6 Virtual Terminal (VT) server GUI based on AgIsoStack++
GNU General Public License v3.0
13 stars 0 forks source link

Add a way to abort a button press #20

Open GwnDaan opened 9 months ago

GwnDaan commented 9 months ago

Naturally if I accidentally pressed a button, I'd try to abort the press with sliding my finger of the button and then releasing. It would be nice if we can implement such a behavior. Right now we always send an ButtonUnlatchedOrReleased if there is a button at the "mouse down" coordinates. Instead we should try to send a ButtonPressAborted when the "mouse up" coordinates is outside of the button initially pressed.