Maschell / controller_patcher_configs

Collection of config files for the controller patcher
GNU General Public License v3.0
28 stars 80 forks source link

MIMD 422 1 GameCube Controller Adaptater ini file #36

Open Narann opened 5 years ago

Narann commented 5 years ago

I and thanks for the hard work. I just want to share my config file for the MIMD 422 1 GameCube Controller Adaptater you can find here:

https://www.amazon.com/GameCube-Controller-Adapter-Switch-Wii-Multiple/dp/B07MLVQ4LJ/ref=sr_1_6?crid=82NFK3L14UP9&keywords=mimd+gamecube+adapter&qid=1559933316&s=gateway&sprefix=mimd+gamecu%2Caps%2C241&sr=8-6

mimd_422_1_gc_controller_adapter.ini

//MIMD Controller Adapter for N-Switch/WII/PC USB (mimd-422-1) (in PC mode)
[vid=0x0079,pid=0x1846]

PAD1_FILTER=0x00,0x04  // First, left plug is actually 0x04
PAD2_FILTER=0x00,0x03
PAD3_FILTER=0x00,0x02
PAD4_FILTER=0x00,0x01

VPAD_BUTTON_A               =   0x01,0x02  // GC A Button
VPAD_BUTTON_B               =   0x01,0x04  // GC B Button
VPAD_BUTTON_X               =   0x01,0x01  // GC X Button
VPAD_BUTTON_Y               =   0x01,0x08  // GC Y Button

VPAD_BUTTON_PLUS            =   0x02,0x02  // GC Start

VPAD_BUTTON_L               =   0x01,0x10  // GC L pushed
VPAD_BUTTON_R               =   0x01,0x20  // GC R pushed
VPAD_BUTTON_ZR              =   0x01,0x80  // GC Z

DPAD_MODE                   =   DPAD_HAT
DPAD_MASK                   =   0xF0
VPAD_BUTTON_DPAD_N          =   0x02,0x10
VPAD_BUTTON_DPAD_NE         =   0x02,0x30
VPAD_BUTTON_DPAD_E          =   0x02,0x20
VPAD_BUTTON_DPAD_SE         =   0x02,0x60
VPAD_BUTTON_DPAD_S          =   0x02,0x40
VPAD_BUTTON_DPAD_SW         =   0x02,0xC0
VPAD_BUTTON_DPAD_W          =   0x02,0x80
VPAD_BUTTON_DPAD_NW         =   0x02,0x90
VPAD_BUTTON_DPAD_Neutral    =   0x02,0x00

// GC Thumbstick
VPad_L_STICK_X=0x03,0x80
VPad_L_STICK_X_MinMax=0x00,0xFF
VPad_L_STICK_X_Invert=False

VPad_L_STICK_Y=0x04,0x80
VPad_L_STICK_Y_MinMax=0x00,0xFF
VPad_L_STICK_Y_Invert=True

// GC C-Stick
VPad_R_STICK_X=0x06,0x80
VPad_R_STICK_X_MinMax=0x00,0xFF
VPad_R_STICK_X_Invert=True

VPad_R_STICK_Y=0x05,0x80
VPad_R_STICK_Y_MinMax=0x00,0xFF
VPad_R_STICK_Y_Invert=False

PAD_COUNT=4
causedorphan commented 5 years ago

Could your possibly do a tutorial on how to get this to work, I tried to just make a .ini file and put it in the config file and it didnt work, first time trying to do something like this so i am a little lost.

Narann commented 5 years ago

Ensure the adapter is in PC mode.

Can you try to put this only ini file and tell me?

I had to remove most ini files to make it work (only using the ones I have controller for).

causedorphan commented 5 years ago

is there a seperate config file for the controller itself or is it just in the sys file?

Narann commented 5 years ago

Create a file wiiu/controller/mmid.ini and put text in. I only have 4 files in wiiu/controller.

Narann commented 5 years ago

Rename extension to ini. mmid.txt

falco23 commented 4 years ago

I have mimd-422-2 and I can't find a way to make it work on my PC. Any idea?