Closed brpollock closed 4 years ago
Thank you for the fix! I've merged it and released it as version 1.11.1.
Wow, that was fast :-)
Thank you for pyGLFW!
I discovered it a few days ago, and it's really nice to work with.
Thanks (again),
Brian
On Fri, May 15, 2020 at 4:38 PM Florian Rhiem notifications@github.com wrote:
Thank you for the fix! I've merged it and released it as version 1.11.1.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/FlorianRhiem/pyGLFW/pull/50#issuecomment-629319189, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFMQLMY5MX44RT6AHWL4X3RRVOWTANCNFSM4NBA34QA .
The initialisers for buttons (and axes) require integer (or float) arguments, but got arrays instead.
Fixed by unpacking the arrays.
The error happened in a call to get_gamepad_state, but it can be reproduced in the REPL (as can the fix).