Skip to content
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

Mayflash Magic-NS adapter #851

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

ThirdWatcher
Copy link

I made a config file for the Mayflash Magic-NS adapter in DInput mode. Tested with Xbox One S/X controller and fully working.

Notes:
-Some controllers might make more sense if A/B and X/Y are both swapped.
-Controllers without analog triggers may not send L/R input (haven't tested). If this is the case, DigitalLR will have to be set to 1.

@iGom
Copy link

iGom commented Feb 28, 2021

Does it work wirelessly?

[Edit]
Holy shit mate, it works, I can finally play my GC games wirelessly on Xbox One S controller, thanks a lot!

@javisarms
Copy link

Wondering if any one’s tried the Magic-NS 2 with this? Thinking of getting one for Series X wireless support.

Thanks for this commit, to get the values, did you simply plug in the Magic and use HIDTest for the values?

@ThirdWatcher
Copy link
Author

Wondering if any one’s tried the Magic-NS 2 with this? Thinking of getting one for Series X wireless support.

Thanks for this commit, to get the values, did you simply plug in the Magic and use HIDTest for the values?

Haven't tried Magic-NS 2 myself. And yes, I did just pull the values from HIDTest

@javisarms
Copy link

javisarms commented Aug 7, 2022

Haven't tried Magic-NS 2 myself. And yes, I did just pull the values from HIDTest

Just got my Magic-NS 2 today and I can confirm that it works in DInput mode using my Series X controller. I also tested it in XInput mode for my 8bitdo Pro 2, it also works.

Here are my .ini files for both input types if anyone needs it:
controller_Mayflash_Magic-NS-2.zip

Note: My button mapping is in my preferred "PS2" style: A = ╳, B = □, X = ○, Y = △. So I switched A → "B" button, B → "X" button, and X → "A" button. Feel free to change to the original accordingly.

Edit: Please disregard the Xinput mode as it has problems. Dinput (Blue) mode works best. 8bitdo Pro 2s will also connect on Blue mode, just switch the controller to 'X' mode.

@ThirdWatcher
Copy link
Author

When in game certain inputs are not registering like Start and Y. I'm on the latest version of nintendont. I tested the same game on Dolphin and it worked. I'm on Wii U

I don't have a Magic-NS 2 to test with so any problems you are having with that adapter I can't help with. I only have the original Magic-NS

@Ogretrogamer
Copy link

I have just gotten my wii up an running with nintendont and everything is working but controllers on nintendont. i downloaded the controllers.zip file. Do i just stick that file in controller folder and that is it? i saw on another post someone recommended updating the mayflash firmware.

@ThirdWatcher
Copy link
Author

I have just gotten my wii up an running with nintendont and everything is working but controllers on nintendont. i downloaded the controllers.zip file. Do i just stick that file in controller folder and that is it? i saw on another post someone recommended updating the mayflash firmware.

The controllers.zip should be EXTRACTED to the controllers folder. Also, my config is not included in the main branch so if you got your .zip from there you'll have to get my config separately.

Added Mayflash Magic-NS to the latest controllers.zip
@FailedShack
Copy link

For Magic-NS 2 use the same config as in this PR but set VID and PID to 33DF and 000A respectively.

Here's my config for the HORI Battle Pad (Switch) using this adapter: controllers.zip

Unfortunately, since it is a Switch Pro Controller it lacks analog triggers. ZR is set as a modifier, so that when pressed with L and R it acts as a half press. This results in a similar layout for Mario Sunshine as the one in Super Mario 3D All-Stars:

R + ZR = Running Squirt
R = Stop and Squirt

@avdigi
Copy link

avdigi commented Oct 9, 2022

@MrBasedTV Nice job on creating this config ini! I've tried looking all over the internet on adding rumble values to the config ini. Apparently fftest can output rumble values however, I don't have access to a linux device at the moment.

I found those values but they are for a generic USB controller, and unfortunately they do not work. Do you know of any way to add correct rumble values?

Rumble=1
RumbleType=1
RumbleDataLen=0E
RumbleDataOn=51,00,00,00,FF,00,00,FA,FE,00,00,00,00,00
RumbleDataOff=51,00,00,00,00,00,00,FA,FE,00,00,00,00,00
RumbleTransferLen=07
RumbleTransfers=2

@ThirdWatcher
Copy link
Author

I found those values but they are for a generic USB controller, and unfortunately they do not work. Do you know of any way to add correct rumble values?

I don't know anything about rumble unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants