Search Unity

Correct way to manage input (on multiple platforms)

Discussion in 'Scripting' started by Danz0r77, Feb 25, 2019.

  1. Danz0r77

    Danz0r77

    Joined:
    Mar 19, 2013
    Posts:
    20
    While developing my game I've been using my Xbox controller, and using the mappings associated with it on Windows 10. I've read that these mappings can be different on different O/S.

    What's the best way to script input detection to be Universal? I.E The same buttons work the same way on all Operating Systems. Or is this not really possible?

    How do people usually manage this side of things?
     
  2. palex-nx

    palex-nx

    Joined:
    Jul 23, 2018
    Posts:
    1,748
  3. Danz0r77

    Danz0r77

    Joined:
    Mar 19, 2013
    Posts:
    20