Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by dovonobob · Mar 21, 2014 at 10:51 AM · inputxbox controller

strange Xbox Controller problem

Got a weird one that's baffled me. I've using an Xbox 360 wired pad for my game, everything has been working fine with it but I've just come across a problem that I can't see what the problem is.

I recently changed my 'throttle' axis to the back triggers, set it up in the input manager as the 3rd axis, works absolutely fine whilst running it in the editor but it doesn't work in a standalone build, the 3rd axis doesn't have any response?

If when booting up the standalone build I change the input in the input settings window that pops up before it starts, whatever I change it to works fine, it accepts any of axis on the right analogue stick. Obviously I can't set it to the back trigger axis (3rd axis) from there because it treats it as axis 9 or axis 10.

Confused..........anyone come across this before?

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Gruffy · Mar 21, 2014 at 11:09 AM 1
Share

XBOX controller seems to map differently for different platforms, The Editor does not discri$$anonymous$$ate this, it is only until you test in standalone you find out.

There are mappings available on the Unity wiki. here Take care bud Gruffy

avatar image dovonobob · Mar 21, 2014 at 11:56 AM 0
Share

I was using that page to get the axis from in the first place that's what confused me as it says on windows it should be axis 3.

$$anonymous$$aybe I should download that xInput.net file whatever that is and give that a try.

Cheers for the info, now at least I know this is common behaviour rather than something I've done or a bug somewhere.

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by dovonobob · Mar 22, 2014 at 02:18 AM

closing, I just added a "RollLeft" and a "RollRight" to input manager and a couple of lines of code so it would use both the 3rd axis and also the 9th and 10th axis depending on what was being used.

hacky Mchack

thanks for the help Gruffy saved me googling for the next week :)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

22 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Xbox one controller support? 3 Answers

Xbox One Controller triggers don't work on Mac 2 Answers

Xbox One controller mapping on PC - How? 1 Answer

Does Unity support Xbox 1 S controller input via bluetooth on Hololens? 0 Answers

Issues with multiplayer Xbox controllers and players (non-networked) 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges