mdqinc / SDL_GameControllerDB

A community sourced database of game controller mappings to be used with SDL2 Game Controller functionality
http://libsdl.org
zlib License
1.38k stars 520 forks source link

How is the GUID matched? #722

Closed biscuitcakes closed 11 months ago

biscuitcakes commented 11 months ago

Hi, I am trying to use this in my project and I'm currently testing the NSO N64 Controller. I'm unable to add a custom mapping for it for some reason... I get this GUID for the controller:

0300ee187e050000192000001202680c

I then remove the crc to get this:

030000007e050000192000001202680c

But then no matter what I do with the remaining elements, if I change anything after the 1920, the mapping is not picked up. Is the GUID in the file a mask of some kind?

I'm hoping I don't have to do a lookup based on the vendor and product IDs.

Any help is appreciated, thank you so much.

offalynne commented 11 months ago

from the readme

to be used with SDL2

refer to SDL for further information: https://github.com/libsdl-org/SDL