-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mapping for NSO Mega Drive/Genesis 3btn controller #546
Comments
Thank you so much for following up @nfp0, I appreciate it ! |
No problem! |
@PitiBatou would you be able to provide mappings for the Sega 6b and N64 controllers on platforms available to you ? |
@offalynne just had a read through the project's README, this is awesome! I should be able to whip up profiles for Windows & Linux over the weekend. It seems the N64 Windows mapping is already in the db? I think I can contribute some other stuff as well that I haven't seen in the database yet -- given enough time ;)
|
That would be a huge get, thank you !
I authored it after your RA-AC contribution as the Windows GUIDs are simplified, feel free to check if it is working correctly, would appreciate it! You can probably skip the Hori Battle Pad as I have one and have authored maps to cover it as well (it’s ID conflicts with other Hori Switch pads on some platforms), though feel free to confirm. The NES style controllers I believe report as JoyCons, but again feel free to check in case they present unique GUIDs etc. Rest sounds great ! |
Here is the code for the NSO N64 controller (Linux). The only difference with the Windows profile seems to be the GUID. Kindly note I added a mapping for button 12 (the Switch "screenshot" button) as "back".
And the one for the MD/Gen 6B for both platforms. I mapped physical Z to LB and physical C to RB and MODE as RT. Let me know if this needs changing. Similar to the N64, I have the "screenshot button" b12 as "back".
I'll get to my other controllers in the coming days. One question: what would be the mapping for Neo Geo (A.B,C,D as A,B,X,Y?). Thanks! |
OK, turns out this went much quicker than I thought, owing to the fact that a lot of my controllers/adapters are already in the list (similar GUID). The "BigBigWon Elitist-S" identifies as an Xbox 360 Controller.
The Hori EDGE 301 identifies as "Generic Xbox pad".
What is the best practice here? Do you leave the description as Xbox 360 Controller/XInput pad or do you prefer the commercial name? NeoGeox X Arcade Stick. That one was straightforward enough:
Elecom JC-W01UWH "Wii Classic Controller to USB"
Another HuiJia chip, which are found in a number of USB adapters, including the many MayFlash. Speaking of which, my two MayFlash adapters -- N64 and SNES (2ports) -- were both detected as "HuiJia USB GamePad" with the GUID The batteries of my Famicom Classic controllers are flat, will update later this week together with the Windows GUID for the controllers in this post. |
Thank you ! I appreciate the thorough details — glad to contribute the necessary edits to the name field etc, not a worry ! |
@offalynne Thanks for taking care of the edits. Here are the binding for the two Famicom Controllers. As you rightly guessed, they share the same GUID as JoyCons. Of note is that Controller II does not have start/select buttons, true to its roots =).
And now for the Windows bindings. I went the Steam route to get the mappings unless otherwise stated: BigBigWon Elitist-S Hori EDGE 301 Elecom JC-W01UWH "Wii Classic Controller to USB" NeoGeo X Arcade Stick. Steam just didn't detect this one so I went with the deprecated GamePad Tool (couldn't find a windows binary for the newer ControllerMap?) NSO MD/Gen 6B: NSO N64. The Steam mapping tool doesn't seem to allow for each direction of the right analog stick to be mapped to individual buttons. Other than that, all clear. I got the same GUID that is already in the database and the same mappings as the Linux ones. I think that should be all of it. I'll happily revisit the project if I come across some exotic controllers/adapters over here. I hope this DB gets more and more use, it's a neat idea! |
The XInput mappings are unnecessary and the rest are already in the DB so I’ll close this for now, feel free to open a new issue or PR if you have additional mapping data to provide. Thanks again! |
Here is the mapping for the Nintendo Switch Online Mega Drive/Genesis 3btn controller straight out of the Steam config file:
Linux:
050000007e0500001720000001000000,dev:gen:Nintendo Switch Online Mega Drive/Genesis 3btn,platform:Linux,a:b1,b:b0,start:b9,guide:b12,back:b7,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,righttrigger:b5
Windows:
030000007e0500001720000000000000,dev:xb1:Wireless Gamepad,platform:Windows,a:b1,b:b0,righttrigger:b5,guide:b12,back:b7,start:b9,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2
I've followed the mapping from the README, with the exception of mapping the home button to Steam's "guide" button. Feel free to remove it if you find it best.
Mega Drive's "Mode" button is mapped to the "Back" button on the Xbox controller and I left the "Screenshot" button unmapped.
Careful, because the IDs conflict with the Nintendo Switch Online SNES controller.
The text was updated successfully, but these errors were encountered: