Closed JustinWayland closed 1 day ago
We've actually had good luck programmatically generating bindings for native libraries so long as the headers are available; they just aren't always nice to use.
What controller types have gyros?
Mainly PlayStation and Nintendo Switch controllers. I have an 8bitdo Ultimate that masquerades as the latter when connected wirelessly, so I can test both if need be.
Xbox controllers don't have gyro.
This would also be useful for players running this port on Steam Deck or other such handheld PCs.
This might be useful if we end up needing to more closely integrate with SDL to get gyro readings.
Just clarifying this feature as something that should be done once all the bugfixing from the 0.9.5.0 release settles down.
Gyro aiming implemented by https://github.com/Helion-Engine/Helion/pull/880; tested on Windows with DualShock 4 controller; haven't tested on Linux yet. No "flick stick" turn support at the moment; maybe later.
This is going to be hard, mostly because GLFW currently does not, and probably never will, report output from the gyrometer if a controller has one. There are two things we might be able to do:
This is definitely not going to be as easy to add as it was for Woof!, and should definitely be saved until after 0.9.5.0's release.