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 Troy Halsey · Mar 26, 2010 at 08:36 PM · gamecontroller

Programming Dual Axis Controller

So I bought a Logitech controller...looks just like a 360 controller with two joysticks...one for each thumb....are you with me?

So the left joystick works automatically for moving my FPS character. But the right controller, which should control the mouse or "head" movement does not work. I can make it work using the controller's software, but that isn't the way to go.

Anyone know how to program this input info straight into the game?

I am a newbie, so I would appreciate you speaking to me like I am mentally challenged :)

Thank you in advance!

Troy

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 Troy Halsey · Mar 26, 2010 at 09:30 PM 0
Share

Alright, I figured it out via another post. But now I guess I have to decide whether the game will only use the controller or only the mouse. Can't seem to get both working...which is needed. Hmmmmm.

Solution was:

$$anonymous$$ouse X: Type: Joystick Axis Axis: 3rd

$$anonymous$$ouse Y: Type: Joystick Axis Axis: 4th Inverted

avatar image Michael La Voie · Mar 27, 2010 at 01:33 AM 1
Share

Feel free to post your solution and the link to the other question in an answer and marking it as accepted. That way other users might find it.

1 Reply

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

Answer by Troy Halsey · Apr 06, 2010 at 03:01 PM

Alright, I figured it out via another post. But now I guess I have to decide whether the game will only use the controller or only the mouse. Can't seem to get both working...which is needed. Hmmmmm. Solution was: Mouse X: Type: Joystick Axis Axis: 3rd Mouse Y: Type: Joystick Axis Axis: 4th Inverted

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 alexnode · Aug 19, 2010 at 12:50 PM 0
Share

Do you know that you can map in the input manager the same mouse x (for example ) function multiple times? One that works for the mouse (the default ) and one that works for the joystick. and from your script you call the name of the mapping not the key itself.

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

No one has followed this question yet.

Related Questions

How do I use an XBOX 360 controller in Unity? 6 Answers

My game controller's face buttons and right joystick is the same buttons, how can i separate them individually? 0 Answers

2issues: Xbox Controller axis returns value that's constantly changing and a build problem. 2 Answers

Is there a better way of doing this? 1 Answer

How to fix a game objects that changes its position when viewed in game mode? 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