internal/uidriver/glfw: Rename gamePad -> gamepad

This commit is contained in:
Hajime Hoshi 2021-07-19 22:25:43 +09:00
parent 6b949cede8
commit a6fe7801ff

View File

@ -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