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
0
Question by Exalia · Aug 19, 2013 at 01:33 PM · androidcontrollervibrationps3

How to make a controller vibrate using android

Hi,

I'm controlling my game via a PS3 controller

Everything is working fine however I'm not sure how to request vibration from the controller.

Does anyone know how to do this?

Thanks.

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

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by roojerry · Aug 19, 2013 at 02:24 PM

google gave me this answer. It seems there is no built-in function for handling vibration on controllers. You must access the controller driver directly to get that functionality.

Comment
Add comment · Show 6 · 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 Exalia · Aug 19, 2013 at 02:48 PM 0
Share

Yeah I found the same thing :( Was hoping there was something else

Thanks though :)

avatar image Exalia · Sep 03, 2013 at 12:51 PM 0
Share

Anyone got an idea? :(

avatar image roojerry · Sep 03, 2013 at 01:01 PM 0
Share

Are you trying to get PS3 controller input on android? If so, that seems to add another layer of complexity to your project. Seeing as there is nothing built-in to handle vibration of ps3 controllers on standalone builds, id say it be even harder to access such a feature on android considering you will most likely need a rooted phone and a third party app just to get the controller to work with an android device.

avatar image Exalia · Sep 03, 2013 at 01:28 PM 0
Share

PS3 Controllers input is handled on android, the only thing I can't get to work is the vibration, I can send a vibration to the screen but not to the controller.

Complexity isn't an issue, Time isn't an issue. I just want to find out if it's possible

avatar image roojerry · Sep 03, 2013 at 01:35 PM 0
Share

I'm out of ideas. Good luck. Hopefully someone comes by with a more definitive answer

Show more comments
avatar image
0

Answer by rpmlins · Sep 17, 2013 at 07:05 PM

Here is a library in C++ that this guy did. He made it to work with Wii and WiiU. Take a look at the simple source code to see how he have done things. libsicksaxis. In my option he used some sort of listenner to capture the packages that the crontroller and the PS3 Console exchanges, then did the Trick with C++.

He may also have got the information exchange using the package sniffer with a PC changing irformation with the PS3 controler, which would be 'a little less complicated'. I know for sure that there is a software when istalled together with the winmm.dll library, a few PC games when played with the PS3, makes the controller vibrates.

A quick Google search and one of the games is borderlands.

Not a simple task to do anyway.

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 XxKirbydudexX · Feb 23, 2019 at 09:59 PM 0
Share

Wii and Wii U Controllers has a built-in Functionality for it to Vibration even through a $$anonymous$$obile Devices or PC without any extra needs, Xbox and PlayStation does not.

avatar image
0

Answer by LoungeKatt · Mar 04, 2014 at 09:19 AM

You may want to look into https://play.google.com/store/apps/details?id=com.dancingpixelstudios.sixaxiscontroller

The application does allow you to output "haptic feedback" to the PS3 controller. I am not sure how willing the developer will be to share his process, but it is a good place to start. Controllers are something Android has only begun to support in the last few Android versions, so it may alter what platforms your app can target if that functionality is vital to your game.

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

19 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

Related Questions

how to make the Playstation 3 controller vibrate? 1 Answer

How to implement controller vibration / rumble? 4 Answers

Dual joystick Position always resets on playing 1 Answer

Gamepad controller not working after build for Android 0 Answers

Using your Android as a controller for your Unity PC Game 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