Search Unity

Linux Input Manager Different From Editor to Launcher

Discussion in 'Linux' started by ericmg123, Aug 3, 2017.

  1. ericmg123

    ericmg123

    Joined:
    Aug 18, 2016
    Posts:
    6
    Hi all,

    I'm making a Linux build of my game and am coming across a bizarre and frustrating issue.
    When I check my Input Manager in the editor before making a build, the descriptive "PS4 DPad Horizontal" input is set to Joystick - 6th Axis.
    When I deploy the game from my Linux machine, I click the Input tab to find that the same input is now set to Joystick - 5th Axis.
    I deleted the player prefs from the machine, thinking that I had changed the input manually, but that didn't solve anything - the default settings of the built program are incorrect.

    Has anyone come across this or can offer up a solution?
    Thanks,
    Eric G.
     
  2. Tak

    Tak

    Joined:
    Mar 8, 2010
    Posts:
    1,001
    It's just a display difference - the "6th axis" is stored as 5 (because the first axis is stored as 0), and the screen selector doesn't use the same display text as the input manager.
    ...but it's the same axis.