Added note in MouseEvent documentation about both Down and Up being 0 representing mouse movement.

This commit is contained in:
Pietro Gagliardi 2014-03-15 22:30:49 -04:00
parent 829cf7b1c6
commit 2c547cb5ec
1 changed files with 1 additions and 0 deletions

View File

@ -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.