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
1
Question by smidty · Oct 12, 2017 at 08:38 PM · controllers

Nintendo Switch Pro Controller mapping?

Hello,

I was wondering if anyone has the complete mapping for a Nintendo Switch Pro Controller. Im mostly interested in the D-Pad mapping. I've got everything else mapped for the controller (on a Mac, via bluetooth). I'll try to get that posted ASAP. If anyone wants to add to this, that would be great.

I have been looking around, and I know there is a mapping for a Joycon controller, but its not the same as the switch's pro controller. I'm actually surprised that this hasn't been done yet, so I'm going to try to be the pioneer here, and make a diagram for the rest of us.

This is what I have so far, if anyone has any additional details, that would be fantastic. Thank you.

EDIT: I have figured out the D-pads. The horizontal D-pad is on the 11th axis. The vertical is on the 12 axis. I have updated the diagram below. alt text

procontrolmap.png (222.3 kB)
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 crusaderWR84 · Feb 13, 2018 at 06:22 PM 0
Share

Have you figured out the sticks yet @smidty

avatar image Speller crusaderWR84 · Apr 01, 2018 at 10:18 PM 0
Share

I set up my son's Unity game so he can use his new Switch pro controller.

The left joystick is used to walk. It is just set up to use X and Y.

The right joystick is used for looking around. I just added Joystick 3 and 4 to the mouse X and Y in the input mapper.

Hope this helps if not let me know.

avatar image cianfavat Speller · May 04, 2018 at 12:24 AM 0
Share

is there any way you could show the mapping? myself and many others can't get the joysticks to work!

8 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Dementio · May 10, 2018 at 01:15 AM

5/9/2018 - Haven't tested the buttons, but the Dpads above are wrong.

DPad Horizontal = 9th axis

DPad Vertical = 10th axis

Left stick horizontal = Y axis (Couldn't tell you why)

Left stick vertical = 4th axis

Right stick horizontal = 7th axis

Right stick vertical = 8th 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
avatar image ZeldaSpace · May 12, 2018 at 04:02 PM 0
Share

Dementio, you might be thinking of the Windows mapping. I can also confirm that the information in the original diagram above is accurate for $$anonymous$$ac.

avatar image
1

Answer by smidty · May 14, 2018 at 01:12 PM

After trying everything inside the Unity editor, I could not figure out how to get the joysticks to work on the Mac. If anyone knows the answer to this, It'd be much appreciated. Im also noticing that most programs and emulators on Mac have a particularly tough time getting the joysticks to work properly on the Mac. maybe there is a third-party driver that can be used rather than just going off of the vanilla driver?

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
avatar image
0

Answer by ZeldaSpace · May 12, 2018 at 04:03 PM

@smidty @Dementio Have you figured out what the mapping is for the analog sticks on Mac? I've manually gone through all 28 Axises, trying to find one that would work, on both vertical and horizontal, and nothing worked. This is my first attempt at programming for analog sticks, so maybe I'm going about this the wrong way?

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
avatar image
0

Answer by frelind86 · Sep 23, 2018 at 04:14 PM

I got as far as getting all buttons to work. But still struggling with the joysticks. Trying to search the web for solutions. But nothing yet. Any one got this last puzzle pice to work?

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
avatar image
0

Answer by sparrowsion · Mar 14, 2019 at 06:38 PM

Same here: the above mapping is correct, but I can get nothing from the sticks.

However, I tried a wired Switch controller (not the Pro Controller connected by USB). And that maps the sticks to X, Y, 3 and 4 just as you'd hope, and the stick, shoulder and central buttons as for the Pro Controller. But the D-pad is on axes 5 and 6, and the other 4 buttons are shifted round: Y is 0, B 1, A 2 and X 3.

(I'm also working with an XBox One controller, which numbers its buttons down from 19, puts the triggers on axes and the D-pad on buttons.)

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
  • 1
  • 2
  • ›

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

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

Can not leave play mode in unity 5 personal edition. 0 Answers

How do you discern the number of controllers currently connected? 0 Answers

Detecting Controllers 0 Answers

Problems with rigidbodies 2 Answers

Can anyone recommend a bluetooth game controller *with gyro* for android vr? 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