Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

Unity and Controllers

Discussion in 'Editor & General Support' started by Recable, Nov 21, 2018.

  1. Recable

    Recable

    Joined:
    Sep 12, 2017
    Posts:
    61
    Hi, this may be the wrong section to ask this in (if so then sorry) but I've been googling this question and couldn't find any answers...

    Do I need permission to allow any PS or XBOX controllers to be usable on my Unity game, even when it's on pc/steam/whatever instead of the consoles themselves?
     
  2. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    9,900
    You do not need permission to use any controllers which is capable of working with PC. Although it's highly recommended to use some 3rd-party asset with Unity (the new input system looks good, but it's in preview), the old input system is not really good for anything. So look up either Rewired or InControl.
     
  3. longroadhwy

    longroadhwy

    Joined:
    May 4, 2014
    Posts:
    1,548
    You did not specify exactly which PS or XBOX controllers. I recommend Rewired as a third party asset. You can look through the controller list to see if you can find your specific controllers. Rewired supports a huge array of gamepads, flight controllers, racing wheels and many other specialty controllers.

    Here is the full controller list here:

    http://guavaman.com/projects/rewired/docs/SupportedControllers.html

    Rewired has a free trial version so you can test it out before purchase to see if it works for you.

    http://guavaman.com/projects/rewired/trial.html

    This is where it is located on the asset store.

    https://assetstore.unity.com/packages/tools/utilities/rewired-21676
     
    guavaman likes this.
  4. Recable

    Recable

    Joined:
    Sep 12, 2017
    Posts:
    61
    Oh I see thanks, I'll take a look. :)

    I meant like PS3/PS4 and XBOX controllers used on the PC, would Sony/Microsoft have an issue with that? For example in Hollow Knight (hopefully you know what that is) I can use a PS3 controller on it.
     
  5. longroadhwy

    longroadhwy

    Joined:
    May 4, 2014
    Posts:
    1,548
    They (Sony and Microsoft) do not have any issue with using their controllers on a PC.

    I use XBOX-360 and XBOX-ONE controllers on the PC without any problems using Rewired. I also use the many different flight controllers and they work perfectly.I do not have any Sony gamepads but I know PS4 controller has some special capabilities supported on the PC using Rewired.

    Here are some of details of the special PS4 controller support when using Rewired on a PC.

    https://guavaman.com/projects/rewired/docs/HowTos.html#dualshock-4-special-features

    The Rewired support thread is located here if you have any questions. It is a very active support thread.

    https://forum.unity.com/threads/rewired-advanced-input-for-unity.270693
     
    guavaman likes this.
  6. Recable

    Recable

    Joined:
    Sep 12, 2017
    Posts:
    61
    Sorry for the late reply, but what I meant is, I know they allow controller use on PC but do you need permission to create a game that has the controller compatibility? So for example I create a game, allow PS/XBOX controller compatibility without permission, yes the player is allowed to use controllers on their PC but would I need permission to allow the compatibility? Sorry if that doesn't make sense I suck at explaining things lol...
     
  7. longroadhwy

    longroadhwy

    Joined:
    May 4, 2014
    Posts:
    1,548
    No permission required.