Slow Fingers
Member
So, I'm getting really annoyed with this thing. I know the function gamepad_get_description() returns a string that is hardware-dependant.
I could live with descriptions like
for an XBox controller (and even then, I thought it looked like ****).
But now, I plug in a Nintendo Switch controller, you know...to test stuff...and this is what the description returns:
This doesn't even fit as a string in my menu, has a grammar error in it, and tells the user absolutely nothing about which gamepad the machine is talking about.
So, considering this, I'm thinking of making a simple extension (free and for everyone to use, of course) that simply returns a more readable string to work with, but obviously, I need some data to go on.
If anyone has knowledge about what controller type returns what string, please let me know.
There must be a database somewhere where this is archived...
For sure I won't be able to cover them all, but it's something that would be easily expendable and would never go out of date (tho could very well not be UP to date, lol)
I could live with descriptions like
Code:
XInput STANDARD GAMEPAD
But now, I plug in a Nintendo Switch controller, you know...to test stuff...and this is what the description returns:
Code:
4 axis 14 bouton boîtier de commande avec commande de pouce
So, considering this, I'm thinking of making a simple extension (free and for everyone to use, of course) that simply returns a more readable string to work with, but obviously, I need some data to go on.
If anyone has knowledge about what controller type returns what string, please let me know.
There must be a database somewhere where this is archived...
For sure I won't be able to cover them all, but it's something that would be easily expendable and would never go out of date (tho could very well not be UP to date, lol)