faiface / pixel

A hand-crafted 2D game library in Go
MIT License
4.46k stars 245 forks source link

Gamepad API added. #233

Closed zergon321 closed 4 years ago

zergon321 commented 4 years ago

Since Pixel now uses GLFW v3.3, I have implemented gamepad API. It works properly on Windows and Linux with XBOX360 gamepad, but I don't have access to Mac computer and PlayStation gamepad nor my friends do, so it would be great if someone tested it. There's a simple program to check your gamepad inputs. It also shows how to use the API.

delp commented 4 years ago

That's exciting, thanks! Let's make a checklist of the testing we need to do to be satisfied.

delp commented 4 years ago

Think this is OK to merge. Hope that by merging folks will use the API and try with various inputs and on different distros