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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Xbox Controller Input for "A" button

Discussion in 'Scripting' started by jaekx, Sep 6, 2015.

  1. jaekx

    jaekx

    Joined:
    Dec 15, 2014
    Posts:
    27
    I know that it maps to the 0 axis but how do I reference the 0 axis when the drop down starts at the 3rd axis?
    Where is the "0 axis" ???
     
  2. hpjohn

    hpjohn

    Joined:
    Aug 14, 2012
    Posts:
    2,190
    its not an axis its a button
    it should already be set up in Fire1 as "joystick button 0"
     
    jaekx likes this.
  3. jaekx

    jaekx

    Joined:
    Dec 15, 2014
    Posts:
    27
    Ah, thank you! I got it now. :)