diff --git a/internal/uidriver/glfw/input.go b/internal/uidriver/glfw/input.go index 099611782..3630fc1c1 100644 --- a/internal/uidriver/glfw/input.go +++ b/internal/uidriver/glfw/input.go @@ -74,9 +74,6 @@ func (i *Input) GamepadIDs() []int { } var r []int _ = i.ui.t.Call(func() error { - if len(i.gamepads) == 0 { - return nil - } for id, g := range i.gamepads { if g.valid { r = append(r, id)