Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Gav (HeyBud) on August 06, 2015, 12:00:02 AM
-
How could you detect a controller so you could give specific instructions for input if they're using keyboard or controller?
-
My idea would be to use a get button down in an fsm and if it's true they're using gamepad. But is there a more specific way?
-
Theres a "get joystick name" action on Ecosystem- it has a "found event" option- you could use that to do something when I joystick is attached
-
Cool- thanks for the reply.
-
Unity's built in Input system has some shortcomings. Most devs that are targeting gamepads will use something like InControl or ReWired to handle their gamepad controls and inputs.
-
Ok, thanks Lane. I bought cInput Pro a while ago. I forgot about it. I think i'll see if there's something on there. ReWired looks good though.
-
I have not used inControl but I would highly recommend Rewired.
The developer is active on this forum and there are already some actions that bring almost all functionality through PlayMaker.
http://hutonggames.com/playmakerforum/index.php?topic=9134.msg51558#msg51558 (http://hutonggames.com/playmakerforum/index.php?topic=9134.msg51558#msg51558)
I have been successful in bringing Local and Online multiplayer with UI controls using Rewired.
Great documentation and you can also try before you buy.
http://forum.unity3d.com/threads/rewired-advanced-input-for-unity.270693/ (http://forum.unity3d.com/threads/rewired-advanced-input-for-unity.270693/)