From 2c547cb5ec04096641cf68a2eafc7ca4371c06dd Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 15 Mar 2014 22:30:49 -0400 Subject: [PATCH] Added note in MouseEvent documentation about both Down and Up being 0 representing mouse movement. --- area.go | 1 + 1 file changed, 1 insertion(+) diff --git a/area.go b/area.go index 5df46cd..5d1ef08 100644 --- a/area.go +++ b/area.go @@ -62,6 +62,7 @@ type MouseEvent struct { // If the event was generated by a mouse button being released, Up contains the ID of that button. // Otherwise, Up contains 0. + // If both Down and Up are 0, the event represents mouse movement (with optional held buttons; see below). Up uint // If Down is nonzero, Count indicates the number of clicks: 1 for single-click, 2 for double-click.