Robato
September 10, 2015, 5:49am
1
Currently got controller support working fine for MacOSX, great job!
But have a question, would really like to vibrate the controller of the player that is taking damage in-game,
and found that controllers have a
device.canVibrate
but not having any luck with it. How should I get a controller to vibrate?
Thanks again!
Robato
September 14, 2015, 6:44am
3
Thanks for the tip @Brent !
But that seems to be Android specific, we’re working with MacOSX (Desktop). Is there some sort of permission required for use with MacOSX like there is with Android?
vlads
September 14, 2015, 10:36pm
4
Hi @Robato ,
Unfortunately there is quite a big problem with force feedback/vibration on OS X. For not it works only with Xbox controller.
controller:vibrate() should work for those devices.
Update: you don’t need Android permissions on OS X to vibrate. Here is example of vibration when player gets hit in our PewPew demo.
Robato
September 15, 2015, 4:02am
5
Thanks @Vlads !
Seems your right that MacOSX doesn’t have feedback/vibration drivers any more for PS3 controllers
Wondering, as I don’t have a Windows machine, do controllers work on Windows?
Thanks again
vlads
September 15, 2015, 1:28pm
6
Game Controllers are supported only on Android and OS X for now. Windows support is not implemented yet.
Robato
September 14, 2015, 6:44am
8
Thanks for the tip @Brent !
But that seems to be Android specific, we’re working with MacOSX (Desktop). Is there some sort of permission required for use with MacOSX like there is with Android?
vlads
September 14, 2015, 10:36pm
9
Hi @Robato ,
Unfortunately there is quite a big problem with force feedback/vibration on OS X. For not it works only with Xbox controller.
controller:vibrate() should work for those devices.
Update: you don’t need Android permissions on OS X to vibrate. Here is example of vibration when player gets hit in our PewPew demo.
Robato
September 15, 2015, 4:02am
10
Thanks @Vlads !
Seems your right that MacOSX doesn’t have feedback/vibration drivers any more for PS3 controllers
Wondering, as I don’t have a Windows machine, do controllers work on Windows?
Thanks again
vlads
September 15, 2015, 1:28pm
11
Game Controllers are supported only on Android and OS X for now. Windows support is not implemented yet.