mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
input: Fix comments
This commit is contained in:
parent
6a9184dd63
commit
7e604c6890
4
input.go
4
input.go
@ -52,8 +52,10 @@ func CursorPosition() (x, y int) {
|
||||
return ui.AdjustedCursorPosition()
|
||||
}
|
||||
|
||||
// MouseWheel returns the x and y offset of the mouse wheel or touchpad scroll.
|
||||
// Wheel returns the x and y offset of the mouse wheel or touchpad scroll.
|
||||
// It returns 0 if the wheel isn't being rolled.
|
||||
//
|
||||
// Wheel is concurrent-safe.
|
||||
func Wheel() (xoff, yoff float64) {
|
||||
return input.Get().Wheel()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user