mdqinc / SDL_GameControllerDB

A community sourced database of game controller mappings to be used with SDL2 Game Controller functionality
http://libsdl.org
zlib License
1.37k stars 518 forks source link

Add 1-player WUSBMote v2.2 #745

Closed meet-vlad closed 8 months ago

meet-vlad commented 8 months ago

Add 1-player WUSBMote v2.2 (wii controller to usb adapter) for Mac OS X

offalynne commented 8 months ago

Could you provide mapping using a Wii Classic controller, if you have one available ? Thanks

meet-vlad commented 8 months ago

Hey, sorry for the late reply. The user connected a Wii Super Famicom Classic Controller to the adapter to generate the string. I asked them to use a Wii Classic Controller instead and I'm currently waiting for their response.

meet-vlad commented 8 months ago

They provided the following string:

030000009b2800008000000022020000,1-player WUSBMote v2.2,platform:Mac OS X,a:b1,b:b4,x:b0,y:b5,back:b2,guide:b10,start:b3,leftshoulder:b6,rightshoulder:b7,dpup:b12,dpdown:b13,dpleft:b14,dpright:b15,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:b8,righttrigger:b9,

using a Wii Classic Controller Pro instead of the Wii Classic Controller (the shoulder buttons are digital on the pro instead of analog). Will this be enough?

offalynne commented 8 months ago

Good enough for me ! Thanks