const (
PointerButtonNone PointerButton = iota
PointerButtonPrimary
PointerButtonSecondary
PointerButtonMiddle
// PointerButtonBack and PointerButtonForward are the side buttons of a mouse,
// which browsers and file managers use to move through history.
PointerButtonBack
PointerButtonForward
)类型 PointerButton
API 文档由 Go 源码生成,内容为英文。
type PointerButton uint8PointerButton identifies the pointer button responsible for an event.