Skip to main content
April 29, 2013

OSX Gamepad

OK I am still waiting on my Rift. Hopefully next week.

I am trying to work out the Unity OVRController and the input manager. I want to get use the Controller to do various Things. Direction on the left stick, Crouch etc.

I am using a Xbox 360 wired controller and the Tattleboogle driver http://tattiebogle.net/index.php/ProjectRoot/Xbox360Controller/OsxDriver

Anyone had any luck on this yet? Does anyone know of any Setup scripts for this?

Ta.
    This topic has been closed for replies.

    12 replies

    Inspiring
    April 29, 2013
    That driver works great for me on mac, it's what I'm using to develop First Law.

    The only thing to note is that the button and axis mappings is different on PC and Mac, so you'll need to do some work to adjust based on that. Besides that if you go to the unity3d wiki and search for xbox 360 controller you should find the mappings you need.
    Twitter : @rje Web : rjevans.net Youtube : My Channel
    Up and Coming
    July 17, 2013
    rje,
    First Law is a lot of fun, nice work on that.
    Would you be willing to share what mappings you used in the unity input dialog to make it work well for mac?

    Did you have to change the settings when you do the PC build?
    Thanks,
    Brad
    Inspiring
    July 20, 2013
    Hi Brad,

    If you look on the test build page: http://rjevans.net/firstlaw you'll see that I had to recommend to mac users that they manually reconfigure their input using the startup dialog.

    This is, frankly, a terrible solution. So I'm working on a library to make this all easier to deal with. You can see more details here: http://rjevans.net/post/55998256996/handling-a-mess-of-controllers
    Twitter : @rje Web : rjevans.net Youtube : My Channel
    Up and Coming
    July 26, 2013
    I'm just starting to get into x-box controllers.

    I would like to map my mouse movement to the right stick.

    I loaded up the Tatter drivers ( for OSX ) so the Left stick moves the vehicle F,B,L,R .. but not turn... (that's currently controlled by mouse movement.

    So how can I accomplish this ??
    http://www.mickbanks.com
    Inspiring
    July 26, 2013
    You'll need to determine the axis numbers of the right stick (for instance, here is the layout of the xbox 360 controller http://wiki.unity3d.com/index.php?title=Xbox360Controller) and then add axis entries to your InputManager settings.
    Twitter : @rje Web : rjevans.net Youtube : My Channel
    Up and Coming
    July 26, 2013
    watch this video, he talks about Axis numbers and mapping input for x-box in Unity

    https://www.youtube.com/watch?v=Z591NmskYcY
    http://www.mickbanks.com
    Inspiring
    July 26, 2013
    I'd also suggest checking out InControl, it's a new input library that should simplify a lot of things if you just need standard controller and mouse access: https://github.com/pbhogan/InControl
    Twitter : @rje Web : rjevans.net Youtube : My Channel
    Up and Coming
    July 26, 2013
    For what it's worth, on Mac, I really like ControllerMate for customizing game controllers. Insanely powerful "visual programming" to make your OWN driver for a given device. I use it with a Logitech RumblePad 2 and a Razer 17-button mouse, and I have almost no need to touch the keyboard even for complex first-person shooters. (Obviously I'm only using the left side of the gamepad; other hand is on the mouse for precision that a joystick can't offer. ,,,But I bet a head can!)

    I'm hoping when I dig into the SDK that non-XBox controllers will work (in Unity on Mac). RumblePad is PS2-style. It seems like that has been an issue for some?
    — Morgan — Mac OS X ❆ Unity
    Up and Coming
    August 2, 2013
    does "InControl " allow you to map the X-Box Triggers ??

    This seems to be my only problem... I can map all other buttons etc.. but the L/R triggers are difficult.
    http://www.mickbanks.com
    Up and Coming
    August 2, 2013
    I'm using that 3rd party driver too, but in order to get it working with existing demos, I had to get an app store app to translate the stick axis to WASD. Less than ideal, but 'works'.