Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

PS4 controller mapping for OSX

Discussion in 'macOS' started by Teku-Studios, Oct 3, 2016.

  1. Teku-Studios

    Teku-Studios

    Joined:
    Sep 29, 2012
    Posts:
    257
    Hi there,

    Our PS4 controller input mapping for Mac seems to be completely messed up. Here's the setup I'm using:


    Does anyone know how should I remap this pad when in OSX? I can't find it anywhere.
     
  2. guavaman

    guavaman

    Joined:
    Nov 20, 2009
    Posts:
    5,609
    Hi,

    I've created a little standalone tool you can use to figure out the mappings for any joystick. Just install this unitypackage and open the UnityJoystickElementIdentifier scene and press Play. The installer will create a bunch of new entries in the Unity input manager, but they can be removed by uninstalling the tool from the menu. You can also install it in a new project instead if you don't want to worry about the input manager entries cluttering your main project.

    Edit: Updated the package to include instructions and an uninstall menu item.
     

    Attached Files:

    Last edited: Oct 4, 2016
    Teku-Studios likes this.
  3. Teku-Studios

    Teku-Studios

    Joined:
    Sep 29, 2012
    Posts:
    257
    That's so generous of you! Thanks a lot, it will sure come in handy.
     
    guavaman likes this.