Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support for SDL2 style controller hats #1227
This commit added a few things related to more fully support X-box controllers via the sdl2_window backend (related to the issue #206 on the sdl2_window repository  . I used the stuff introduced here to fix issue #206 there, you should be able to see that in my fork of sdl2_window. If/When this PR gets accepted I'll open a PR for that as well)
Well, it should reference the problem in sdl2_window that says that Xbox one controllers don't send d-pad events. I had to make the changes here in order to make a fix for that in sdl2_window, that I think fits somewhat with how the rest of it works.