Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
2
Question by Doghelmer · Feb 24, 2016 at 04:02 AM · inputgamepadcontrollersxboxcontrollerxbox360

Axis 9 and 10 not working with 2 Xbox 360 controllers plugged in

I have a very odd problem here. When I plug in an Xbox 360 controller and an Xbox One controller, the triggers on each of these controllers work fine in my game when reading from Axis 9 and 10. However, when I plug in two Xbox 360 controllers instead, Axes 9 and 10 stop working properly -- It seems that they only work if I press RT or LT on both controllers simultaneously.

I can't think of anything in particular I might be doing wrong here. To test this out, I simply plug in both controllers, start up Unity, and run a script with an Update function with the line "Debug.Log(Input.GetAxis("Joy1 Axis 10"));".

Any ideas on what might be causing this?

Comment
Add comment · Show 3
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 wuzibu · May 16, 2016 at 07:28 PM 0
Share

I have a very similar problem. When I want to use the Left Trigger for the first player, I have to use the second controller and hold the Left $$anonymous$$ovement Stick from the first controller to make it work. Can't really tell when this started to happen. But I have 2 xbox360 controllers and unity 5.3.4f1

avatar image Doghelmer wuzibu · May 16, 2016 at 10:57 PM 0
Share

I started using the Rewired plugin, and that fixed the problem for me. Bit of a drastic solution, but it's also just a really good plugin and has helped with a bunch of other controller related issues as well.

avatar image wuzibu Doghelmer · May 17, 2016 at 07:26 AM 0
Share

Thanks for the tip. But I stick to remove-the-controllers-temporarily-and-restart-unity for now. If problems like that occur again, I will consider the plugin. It does not happen regurlarly and only if I have plugged in 2 controllers.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Stonesand · May 26, 2016 at 12:46 PM

This is a known problem with Xbox 360 game pads. It will drive you nuts, because it looks like sometimes it works, and other times it doesn't.

Your actual-solutions-that-always-work are these:

  1. Don't allow more than one Xbox 360 controller to be connected at once.

  2. Use Rewired to force Xbox 360 controllers to use XInput instead ofDirectInput.

Comment
Add comment · Show 1 · 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
avatar image Shizuku_Mizuki · Jul 16, 2018 at 07:36 AM 0
Share

Is there an update on this? Forcing only one Xbox 360 controller to be connected at once is absolutely unacceptable as my game is a fighting game, so most people will be using arcade sticks. Since S$$anonymous$$m has built-in DInput to XInput conversion, I need this to work.

Is there a free workaround that lets me use more than one Xbox 360 controller? Rewired is $45 and it'd likely take more work integrating that into my input manager.

Preferably, I'd love to completely go away from Unity's input manager for all Xbox Axes (Joystick, D-Pad, and Triggers) since all I need are digital signals. For all keyboard/button inputs I've been using Get$$anonymous$$ey/Get$$anonymous$$eyDown with $$anonymous$$eyCodes.

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

41 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 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

How do I standardize my game's input to different types of controllers? 1 Answer

Xbox 360 gamepad numbers mixed up 0 Answers

New Input System Gamepad.current is null on build for Xbox 0 Answers

Detecting Controllers 0 Answers

GetButtonDown not responding to Xbox 360 Button presses 0 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