question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mapping for NSO Mega Drive/Genesis 3btn controller

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10

github_iconTop GitHub Comments

2reactions
offalynnecommented, Feb 15, 2022

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!

2reactions
PitiBatoucommented, Feb 15, 2022

@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 =).

050000007e0500000720000001000000,HVC Controller (1),a:b0,b:b1,back:b8,start:b9,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,platform:Linux,

050000007e0500000720000001000000,HVC Controller (2),a:b0,b:b1,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,platform:Linux,

And now for the Windows bindings. I went the Steam route to get the mappings unless otherwise stated:

BigBigWon Elitist-S 030000005e0400008e02000000007801,XInput Controller,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b10,leftshoulder:b4,leftstick:b8,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b9,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,platform:Windows,

Hori EDGE 301 030000000d0f00006d00000000007801,XInput Controller,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b10,leftshoulder:b4,leftstick:b8,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b9,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,platform:Windows,

Elecom JC-W01UWH “Wii Classic Controller to USB” 030000006e0500000720000000000000,JC-W01U,a:b2,b:b3,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b0,y:b1,platform:Windows,

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?) 0300000092120000474e000000000000,NEOGEOX Arcade Stick,platform:Windows,a:b0,b:b1,x:b3,y:b2,back:b8,start:b9,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,

NSO MD/Gen 6B: 030000007e0500001720000000000000,NSO MD/Gen 6B,a:b1,b:b0,y:b2,x:b6,start:b9,guide:b12,back:b13,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,righttrigger:b7,platform:Windows

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!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to remap a 6 button controller in retroarch for your Sega ...
I've gotten a lot of comments about people having trouble getting their 6 button controllers working in retroarch with their sega genesis ......
Read more >
SEGA Genesis Control Pad Diagram - Nintendo Support
Diagram showing the SEGA Genesis Control Pad for Nintendo Switch. Directional Pad; Capture Button. Takes a screenshot during play. Recharge LED.
Read more >
3-button Genesis Controller - Unable to map?
Problem is, when I go to button map them, because they are 3 ... SEGA Mega Drive & Genesis Classics > General Discussions...
Read more >
Genesis/MegaDrive Control Mapping : r/retroflag_gpi - Reddit
What is the best way to map the genesis controls to the gpi case? I'm trying to play ultimate mk3 and the controls...
Read more >
PCB for Sega Genesis [Mega Drive] 3-btn Controller - Tindie
A PCB to build your own 100% OEM hardware compatible Sega Genesis [Mega Drive] 3-button controller. Use it to build your own arcade...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found