• 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 StefanJo · Feb 02, 2020 at 06:29 PM · inputgamepadpreviewps3

Problem with the gamepad in the new input system

I have a ps2 controller that's connected via the usb adapter to a windows 10 machine. I'm using the new input system in Unity and when I open up the input debugger it is detecting it as a DualShock3GamepadHID which is fine, but the mapping of the buttons is wrong. For example square is mapped as the start, start as the right trigger, etc. The only things that are mapped right are the left and right sticks. I suppose that the drivers are not the problem since the gamepad works fine in Steam and Epic. Any suggestions how I can fix this?

Comment
Add comment
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

2 Replies

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

Answer by Bambivalent · Jan 08, 2021 at 11:52 PM

You can create your own setup, as Unity did with the PS4 gamepad: https://docs.unity3d.com/Packages/com.unity.inputsystem@1.0/manual/HID.html

Comment
Add comment · Show 2 · 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 StefanJo · Jan 08, 2021 at 11:57 PM 0
Share

Thanks, this seems like a nice workaround.

avatar image B0TLANNER StefanJo · Sep 27, 2021 at 12:11 AM 0
Share

@StefanJo Did you end up creating your own setup? If so would you share it?

I am also using a PS2 (Dualshock 2) controller with a USB adapter, and am breaking my head trying to understand how to define the struct. I attempted using x360ce so it gets picked up as XInput, but that just confuses Unity, since it detects two controllers then and keeps switching between the two (one being the incorrectly mapped PS2 controller and the other the virtual XBox controller).

avatar image
2

Answer by dragon_script · Apr 24, 2020 at 08:20 PM

Unity doesn't support PS3, ps2, and psx controllers because they're too old and aren't supported to build. You need another controller (PS4, Nintendo Switch Pro, etc) I would suggest you to buy a xbox controller because in pc it's the most common and the better.

Comment
Add comment · Show 2 · 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 SepM · Jul 02, 2020 at 09:01 PM 0
Share

Thanks so much! I wasted a lot of time thinking that PS3 controllers would work.

avatar image ChrisAshtear · yesterday 0
Share

this is absolutely wrong - If I can get my cheap SNES controller clone working, Theres no reason why you wouldnt be able to use a PS3 controller.

It does show up under 'joystick', so it was hard to find initially.

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

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

Dualshock3 Mac L2/R2 Trigger Analog Values? 1 Answer

Getting R2 and L2 from PS3-Pad to Work on Android 0 Answers

Unity Isn't Detecting Button Presses on PS3 Controller 2 Answers

Gamepad (PS3 at the moment) communicating with unity. 1 Answer

3D Movement with Gamepad with Input System? 3 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