Path-Of-Gamepad icon indicating copy to clipboard operation
Path-Of-Gamepad copied to clipboard

input.Left.Trigger out of range

Open nanohard opened this issue 3 years ago • 0 comments

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

nanohard avatar Oct 15 '21 03:10 nanohard