Understandably there is a game controller mapping database in SDL, how do I only customize my database to my library program, or part of my own database header file? Assistance necessary.
I have seen that you have asked about this many times in the past and the reason why you haven’t gotten many answers on these topic(s) is that people here unfortunately don’t quite understand what it is you’re asking and what you want to do and achieve.
You need to be very clear about what it is you need help with and what you want to achieve.
Here’s a database maintained on github, all you need is to copy gamecontrollerdb.txt into your project and then use SDL_AddGamepadMappingsFromFile with a path to it to load the mappings from the file.
I think you do have to call that after SDL_Init(SDL_INIT_GAMEPAD);
I like to split the database into smaller Windows, Mac, Linux mapping files since I think loading a smaller database file when possible makes sense.
As Daniel1985 says, I’m guessing that this description might help.