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 thecomediclife · Apr 07, 2014 at 10:18 PM · gamepadgetaxisinput manageranalog

PS3 Controller Analog Stick's not registered to axes?

So I recently got a PS3 controller and installed the necessary programs for my PC to recognize the gamepad (MotionInJoy). I also managed to get Unity to read the various buttons presses correctly, but one issue I seem to have is reading the analog sticks as well as the D-pad. So I understand I use the Input Manager to access the various axes of the controller, and that most people online seem to tell me that the PS3 Dualshock Sixaxis controller's button map is that the D-Pad is registered as 6th and 7th axes, the left analog as X and Y axes, and the right analog as 3rd and 5th axes. So I tried it in the Input Manager, setting type to "Joystick Axis" and made 4 new inputs and named them "RightAnalogHorizontal," "LeftAnalogHorizontal," etc.

Then, to test out if it worked, I simply put in a code,

if (Input.GetAxis("Horizontal")) {

Debug.Log("Horizontal has been pressed");

} etc.

This was to make sure everything worked and would tell me whether or not I have pressed the direction of the D-Pad and Analogs. However, after trying this out, it seems my D-pad is registered to X and Y axes, and my left and right analog stick aren't registered to X/Y, 3rd/5th, or 6th/7th. I then tried out every axes from 3rd to 20th and none of them worked. Anyone else have the same problem? Anyone know why this is happening?

Comment
Add comment · Show 1
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 AmasterAmaster · Jan 26, 2015 at 11:37 PM 0
Share

I have the same problem when I used $$anonymous$$otionInJoy with my PS3 controller, it seems that the driver either forgot that the axes existed, or it may not be compatible or something. I am looking for alternatives to this problem.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by weizenhuhn · Dec 18, 2016 at 08:03 AM

I've got exactly the same Problem with the right Stick. I can not find the axis for the right stick. I used also this Tutorial (https://www.youtube.com/watch?v=MqM_aPEWx1c) to install the ps3 Controller for Windows 10. How you guys connected the Controller? I guess there is no other way to use the PS3 Controller without this solution? I used also this Tutorial (https://www.youtube.com/watch?v=MqM_aPEWx1c) to configure and visualize the InputManager.

Anybody have a solution??

Edit: I found a solution. Sensitivity has to be higher than 0. I filled out the following two lines: Dead: 0.19 Sensitivity: 1

VerticalAxis: 5th Axis (inverted!) HorizontalAxis: 4th Axis

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

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

24 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

Related Questions

gamepad right analog seemingly not connected 1 Answer

multiple gamepads not recognized or weren't successfully installed 1 Answer

horizontal menu + gamepad 1 Answer

What is the official (according to Sony) way to set up a PS3 controller? 0 Answers

if (Input.GetAxisRaw("horizontalP1") always does what 0 axis has assigned 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