ophelius
Member
Hi,
I've been looking into programming an option for my game to remap the gamepad buttons and save profiles.
From what I understand, the best way to properly create and save mappings for any specific controller is to construct a proper map string:
"<guid>,<description>,platform:<platform-name>,<bindings>"
which you can then use to properly identify, save and remap controllers.
But what I've discovered is 2 of my controllers, 1 USB NES and 1 USB SNES, both from RetroUSB.com, share the exact same GUID string AND description, making it impossible to tell which of the 2 controllers are plugged in.
So how do I create a proper mapping that I can save and retrieve which tells me exactly which controller I have plugged in, when it's not guaranteed that each separate controller model will have a unique GUID?
It also shows that both have 17 buttons, which is way off.
Thanks for any help
I've been looking into programming an option for my game to remap the gamepad buttons and save profiles.
From what I understand, the best way to properly create and save mappings for any specific controller is to construct a proper map string:
"<guid>,<description>,platform:<platform-name>,<bindings>"
which you can then use to properly identify, save and remap controllers.
But what I've discovered is 2 of my controllers, 1 USB NES and 1 USB SNES, both from RetroUSB.com, share the exact same GUID string AND description, making it impossible to tell which of the 2 controllers are plugged in.
So how do I create a proper mapping that I can save and retrieve which tells me exactly which controller I have plugged in, when it's not guaranteed that each separate controller model will have a unique GUID?
It also shows that both have 17 buttons, which is way off.
Thanks for any help
Last edited: