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 F3 · Jan 29, 2013 at 10:10 AM · inputjoystickusb

Joystick count limit

I want to use joysticks for input device in my game. In order to support 10+ players, keyboard is not acceptable. Only joystick or self-made gamepad can support player more than 10.

but, after some reading, i found there are a lot limits:

  • Windows Xinput Joystick is limited to 4 controllers (from msdn)

  • Windows DirectInput Joystick is unlimited (from wiki)

  • Unity3d support max 4 Joysticks with 80 keys (from this wiki)

I cant find any info about this limit in Unity3d's Official docs. Can anyone help me?

  • whats the max joystick numbers limit by unity3d?

  • unity3d support only Xinput joystick?

  • how about PS3's controllers?

  • how about Mac/Linux platforms?

  • how about Android OTG support?

Plz help me, before i buy 11 controllers to test the truth.....

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 F3 · Feb 01, 2013 at 08:15 AM 0
Share

I'v bought 5 controllers, on the way. result will be out this weekend. THIS SITE IS TOO COLD. Unity, you can copy the system of stackoverflow, but you cant copy the crowd back.

avatar image JibbSmart · Aug 21, 2013 at 01:45 PM 0
Share

Hey, I'm curious as to what you discovered. I don't have access to a Linux machine, and am wondering if joysticks work with Unity on Linux.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by JibbSmart · Feb 04, 2014 at 04:17 AM

My game KarBOOM ( http://karboom.net ) uses Unity and supports up to 8 joysticks (I don't think Unity can handle more than that), including PS3 and other controllers, on Windows, Mac & Linux. I had to manually set up the inputs and axes for every joystick in the Input Manager, which was tedious, but once I had done that everything else was straight-forward.

I hope that's helpful.

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

11 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

Related Questions

Permanent unintentional Input on Axis 1 Answer

2D rotation around hinge joint with joystick input 0 Answers

Analog stick control 1 Answer

Pause button not "caught" by pause script 2 Answers

Logitech G27 pedal input 1 Answer


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