Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Multiple Xbox 360 Controllers in Unity (second)

Discussion in 'Editor & General Support' started by AkilaeTribe, Aug 4, 2010.

  1. AkilaeTribe

    AkilaeTribe

    Joined:
    Jul 4, 2010
    Posts:
    1,149
    Greetings,

    here's the first topic : http://forum.unity3d.com/viewtopic.php?t=47565&highlight=controller+360

    It seems (tested and confirmed) that the Joy Num do not matter for buttons when multiple xbox 360 pads are plugged. So, to differentiate their A buttons (button 0), writing in positive value :

    - joystick 1 button 0
    - joystick 2 button 0

    is required.

    Why should we bother to write explicitly the joystick number whereas we already have a Joy Num field ?

    Because in order to detect buttons, "Key or Mouse Button" is required, so it do not take in account the joystick fields (Axis and Joy Num) ?

    Either it is some error of design, or I have missed something...?
     
  2. Legogo

    Legogo

    Joined:
    Mar 3, 2009
    Posts:
    2
    IMO It's just that the Editor doesn't remove what it should remove when you select a specific value in the "Type" field.
     
  3. benthroop

    benthroop

    Joined:
    Jan 5, 2007
    Posts:
    267
    Thanks for posting this AkilaeTribe. Saved me a bunch of time.