mupen64plus / mupen64plus-input-sdl

Input plugin for Mupen64Plus v2.0 project using SDL. This is derived from the original Mupen64 blight_input plugin.
GNU General Public License v2.0
43 stars 70 forks source link

can you add xbox one s controller to auto config #106

Open greatlord opened 3 years ago

greatlord commented 3 years ago

Hi I got a xbox one s controller it is name Xbox One S Controller I did manual edit InputAutoCfg.ini by adding it to [Xbox One S Controller] <-- my add here [Xbox One S Controller] plugged = True plugin = 2 mouse = False AnalogDeadzone = 4096,4096 <- not sure AnalogPeak = 32768,32768 <- not sure DPad R = hat(0 Right) DPad L = hat(0 Left) DPad D = hat(0 Down) DPad U = hat(0 Up) Start = button(11) Z Trig = axis(2+) <- not sure B Button = button(3) A Button = button(0) C Button R = axis(3+) <- not sure C Button L = axis(3-) <- not sure C Button D = axis(4+) <- not sure C Button U = axis(4-) <- not sure R Trig = button(6) L Trig = button(7) Mempak switch = Rumblepak switch = X Axis = axis(0-,0+) <- not sure Y Axis = axis(1-,1+) <- not sure

Any tips getting all button mapping correct ?

richard42 commented 3 years ago

well you gotta figure out the proper values for all of those control mappings. You can do it by trial and error, playing a bunch of different games until you get them all right. Here is a documentation page which may offer some hints: https://mupen64plus.org/wiki/index.php?title=ControllerSetup