summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-04-29 16:27:16 -0400
committerPietro Gagliardi <[email protected]>2014-04-29 16:27:16 -0400
commit6716ce39983dbbe929bf5ab84f3fcf120355b09b (patch)
tree58e4a97b6b2d07e861abac3182827edd85a75bba
parent2528fa9cfd44195cb9e4842f30904feaec3d9321 (diff)
Added a quick disclaimer about Area mouse button numbers and documentation.
-rw-r--r--area.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/area.go b/area.go
index 63d4602..b39e448 100644
--- a/area.go
+++ b/area.go
@@ -75,6 +75,7 @@ type AreaHandler interface {
// If additional buttons are supported, they will be returned with 4 being the first additional button.
// The association between button numbers and physical buttons are system-defined.
// For example, on Windows, buttons 4 and 5 are mapped to what are internally referred to as "XBUTTON1" and "XBUTTON2", which often correspond to the dedicated back/forward navigation buttons on the sides of many mice.
+// The examples here are NOT a guarantee as to how many buttons maximum will be available on a given system.
// (TODO find out if there's a way to query available button count)
type MouseEvent struct {
// Pos is the position of the mouse in the Area at the time of the event.