mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
uidriver/glfw: Remove unused logics
This commit is contained in:
parent
5bc09acb41
commit
b7a1e85788
@ -74,9 +74,6 @@ func (i *Input) GamepadIDs() []int {
|
|||||||
}
|
}
|
||||||
var r []int
|
var r []int
|
||||||
_ = i.ui.t.Call(func() error {
|
_ = i.ui.t.Call(func() error {
|
||||||
if len(i.gamepads) == 0 {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
for id, g := range i.gamepads {
|
for id, g := range i.gamepads {
|
||||||
if g.valid {
|
if g.valid {
|
||||||
r = append(r, id)
|
r = append(r, id)
|
||||||
|
Loading…
Reference in New Issue
Block a user