I am experimenting with steering wheels on Windows, and meeting problems with devices with more than 32 buttons.
Both in my own code and in the GLFW example (version from Git repo) the state of some buttons is not detected. Additionally some button positions are stuck at pressed value.
My research came to conclusion that this might be a limitation of DirectInput API on Windows.
Tested on SDL and the button detection works there, but they seem to support quite many interfaces for accessing controller data, and at the moment I am not actually sure which mechanism is used for this device.