diff --git a/internal/uidriver/glfw/input.go b/internal/uidriver/glfw/input.go index c7c1dd777..bd887bce5 100644 --- a/internal/uidriver/glfw/input.go +++ b/internal/uidriver/glfw/input.go @@ -28,7 +28,7 @@ import ( "github.com/hajimehoshi/ebiten/v2/internal/glfw" ) -type gamePad struct { +type gamepad struct { valid bool guid string name string @@ -46,7 +46,7 @@ type Input struct { scrollY float64 cursorX int cursorY int - gamepads [16]gamePad + gamepads [16]gamepad touches map[driver.TouchID]pos // TODO: Implement this (#417) runeBuffer []rune ui *UserInterface