RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Mupen64plus Update Breaks Wireless PS4 Controller Input

    Scheduled Pinned Locked Moved Help and Support
    dualshock 4mupen64plusmupen64plus.cfg
    3 Posts 2 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hooperreH
      hooperre
      last edited by

      Before I boot a ROM I try to manually change the Input name to "Wireless Controller":

      [Input-SDL-Control1]
      
      # Mupen64Plus SDL Input Plugin config parameter version number.  Please don't change this version number.
      version = 2
      # Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic
      mode = 2
      # Specifies which joystick is bound to this controller: -1=No joystick, 0 or more= SDL Joystick number
      device = 0
      # SDL joystick name (or Keyboard)
      name = "Wireless Controller"
      # Specifies whether this controller is 'plugged in' to the simulated N64
      plugged = False
      # Specifies which type of expansion pak is in the controller: 1=None, 2=Mem pak, 5=Rumble pak
      plugin = "2"
      # If True, then mouse buttons may be used with this controller
      mouse = False
      # Scaling factor for mouse movements.  For X, Y axes.
      MouseSensitivity = "2.00,2.00"
      # The minimum absolute value of the SDL analog joystick axis to move the N64 controller axis value from 0.  For X, Y axes.
      AnalogDeadzone = "4096,4096"
      # An absolute value of the SDL joystick axis >= AnalogPeak will saturate the N64 controller axis value (at 80).  For X, Y axes. For each axis, this must be greater than the corresponding AnalogDeadzone value
      AnalogPeak = "32768,32768"
      # Digital button configuration mappings
      DPad R = "hat(0 Right)"
      DPad L = "hat(0 Left)"
      DPad D = "hat(0 Down)"
      DPad U = "hat(0 Up)"
      Start = "button(9)"
      Z Trig = "button(6)"
      B Button = "button(3)"
      A Button = "button(0)"
      C Button R = "axis(3+)"
      C Button L = "axis(3-)"
      C Button D = "axis(4+)"
      C Button U = "axis(4-)"
      R Trig = "button(5)"
      L Trig = "button(4)"
      Mempak switch = "button(11)"
      Rumblepak switch = "button(12)"
      # Analog axis configuration mappings
      X Axis = "axis(0-,0+)"
      Y Axis = "axis(1-,1+)"
      

      After:

      [Input-SDL-Control1]
      
      # Mupen64Plus SDL Input Plugin config parameter version number.  Please don't change this version number.
      version = 2
      # Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic
      mode = 2
      # Specifies which joystick is bound to this controller: -1=No joystick, 0 or more= SDL Joystick number
      device = 0
      # SDL joystick name (or Keyboard)
      name = "Wireless Controller Motion Sensors"
      # Specifies whether this controller is 'plugged in' to the simulated N64
      plugged = True
      # Specifies which type of expansion pak is in the controller: 1=None, 2=Mem pak, 5=Rumble pak
      plugin = "2"
      # If True, then mouse buttons may be used with this controller
      mouse = False
      # Scaling factor for mouse movements.  For X, Y axes.
      MouseSensitivity = "2.00,2.00"
      # The minimum absolute value of the SDL analog joystick axis to move the N64 controller axis value from 0.  For X, Y axes.
      AnalogDeadzone = "4096,4096"
      # An absolute value of the SDL joystick axis >= AnalogPeak will saturate the N64 controller axis value (at 80).  For X, Y axes. For each axis, this must be greater than the corresponding AnalogDeadzone value
      AnalogPeak = "32768,32768"
      # Digital button configuration mappings
      DPad R = "hat(0 Right)"
      DPad L = "hat(0 Left)"
      DPad D = "hat(0 Down)"
      DPad U = "hat(0 Up)"
      Start = "button(9)"
      Z Trig = "button(6)"
      B Button = "button(3)"
      A Button = "button(0)"
      C Button R = "axis(3+)"
      C Button L = "axis(3-)"
      C Button D = "axis(4+)"
      C Button U = "axis(4-)"
      R Trig = "button(5)"
      L Trig = "button(4)"
      Mempak switch = "button(11)"
      Rumblepak switch = "button(12)"
      # Analog axis configuration mappings
      X Axis = "axis(0-,0+)"
      Y Axis = "axis(1-,1+)"
      

      And it proceeds to make "Wireless Controller" as player 2. I have the same input for both named controllers "Wireless Controller" is the same input config as "Wireless Controller Motion Sensors", but the latter does not function as a controller.

      4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

      S 1 Reply Last reply Reply Quote 0
      • S
        spud11 @hooperre
        last edited by

        @hooperre I've set the mode to the following mode = 0 ie fully manual in both the Mupen64 plus config file and in the InputAutoConfig ini file.

        Perhaps try that.

        RetroPie v4.4.1 • RPi3 Model B • 5.1V 2.5A PSU • 32GB SanDisk Extreme microSD • 2TB Toshiba Canvio Basics Portable USB 3.0 hard drive • 4 x DragonRise USB Arcade joysticks • 2 x TurboTwist spinners • 1 x USB trackball • 1 x PS4 wireless • 1 x 8BitDo Zero

        1 Reply Last reply Reply Quote 0
        • hooperreH
          hooperre
          last edited by

          I found this thread that seems to contain the answer: https://retropie.org.uk/forum/topic/17650/dualshock-controllers-on-4-4-with-3b/35

          4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.