Path-Of-Gamepad
Path-Of-Gamepad copied to clipboard
input.Left.Trigger out of range
Built from source on linux64 I get this error. The gamepad is plugged in and recognized by the OS.
⟩ ./main (base)
panic: runtime error: index out of range [4] with length 1
goroutine 1 [running]:
github.com/Steven-Ireland/path-of-gamepad/controllers.Read({0x54, 0x0}, {{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, ...})
/home/user/games/poe/Path-Of-Gamepad/controllers/input.go:148 +0x6a5
main.main()
/home/user/games/poe/Path-Of-Gamepad/main.go:82 +0xa6