Show HN: Simple C library for an XBox Controller (Linux) for easy use in games
github.com
github.com
I'm sure the user could find out the index values for each button on the controller, but I'd be tempted to include an enum for each button so simplify things for the user. It's certainly usable in its current form though.
So mt stands for my name (Maurice Tollmien).
It sort of does, because the library isn't called (or has the acronym) "mt". Why not call it "xbox*" or something like that?
For your vector and quaternion libs... You should make them header only, all static inline functions and perhaps with always_inline attribute if you care about performance. This also removes any need for prefixes.
That is a good idea, I will look into that, thanks!