Documentation ¶ Index ¶ type ButtonInfo type Mouse func NewMouse() *Mouse func (m *Mouse) ScrollWheel() float64 func (mouse *Mouse) Update() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type ButtonInfo ¶ type ButtonInfo struct { PressedX, PressedY int MoveWhilePressedX, MoveWhilePressedY int MoveWhilePressedDeltaX, MoveWhilePressedDeltaY int Pressed bool Released bool ReleasedWhilePressedWithNoMovement bool MovedWhilePressed bool } type Mouse ¶ type Mouse struct { X, Y int ButtonInfo map[ebiten.MouseButton]ButtonInfo } func NewMouse ¶ func NewMouse() *Mouse func (*Mouse) ScrollWheel ¶ func (m *Mouse) ScrollWheel() float64 func (*Mouse) Update ¶ func (mouse *Mouse) Update() Source Files ¶ View all Source files mouse.go Click to show internal directories. Click to hide internal directories.