elmindreda/glfw — pull request #2 by fatty (2012-03-26 22:29:12+00:00)
Title: Implemented joystick hat support for OS X and Win32.

Here's a fix for recognizing hats as buttons under OS X and Win32!