I have connected a Mega Drive 6-button pad to the Retrode and these seem to be the internal button mappings:
(https://forum.retrode.com/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FSCv2VUS.png&hash=45647a4f47b48ad46b935f868012405b72c0f7c4)
Is there some way for me to remap the assigned buttons of a specific controller port (with a different configuration for SNES and MD) so that, for example, they can match these settings when using the Mega Drive one?
(https://forum.retrode.com/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F27QdSkA.png&hash=34e70d2c18e915fbabb57cc53ec697917d5e965c)
This would greatly simplify things when unplugging another kind of controller and then plugging the Retrode.
Thanks.
Are you requesting that the built-in button mappings should map similar (function/name) buttons to the same index, for example as in the table below?
MD: | Start | Mode | A | B | C | X | Y | Z |
SNES: | Start | Select | A | B | L | X | Y | R |
I currently don't have time to look into this more deeply, but I'll keep your post bookmarked and get back to it after finishing my work on the open-source release and the NES plug-in.
Still, everybody feel free to discuss the feature here. :)
Is this feature still being considered? It would be really nice to be able to switch from a regular PC controller to the Retrode joystick ports without having to remap the buttons every time.
Just adding custom MD and SNES button mappings to the Retrode's config file could do the trick.
Sorry, while I still have this thread bookmarked, I don't know if and when I will contribute to the firmware again.
But maybe someone else might implement this. So if I understand you correctly now, you're asking for a config option that enables you to assign the buttons to different positions in the list.
First idea: Listing the button positions for Start Mode A B C X Y Z in that order.
The configuration from your first screenshot would look like this: [mdButtons] 3 2 1 0 4 6 5 7
And for the second screenshot: [mdButtons] 6 7 2 0 1 3 5 4
Second idea: Listing the buttons in the requested order (first = button 0, last = button 7), using the letter S for Start and M for Mode/Select:
First screenshot: [mdButtons] BAMSCYXZ
Second screenshot: [mdButtons] BCAXZYSM
Is that what you're asking for? Which idea do you like better?
After some thought, I think the second idea would be actually the cleanest solution, maybe with full button names so that there would be no conflicts in case that this is eventually implemented for other more complex systems (like N64's directional C buttons and stuff like that). So something like:
[mdButtons] B C A X Z Y START MODE # Buttons in the order in which they'll be assigned when connected through the USB port (Example: START MODE A B C X Y Z)
I really hope that somebody can implement it sometime...