playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Can you detect gamepad in PM?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Can you detect gamepad in PM? (Read 4588 times)
Gav (HeyBud)
Full Member
Posts: 126
Can you detect gamepad in PM?
«
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?
Logged
Gav (HeyBud)
Full Member
Posts: 126
Re: Can you detect gamepad in PM?
«
Reply #1 on:
August 06, 2015, 12:02:03 AM »
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?
Logged
mdotstrange
Hero Member
Posts: 555
Re: Can you detect gamepad in PM?
«
Reply #2 on:
August 06, 2015, 09:14:23 AM »
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
Logged
Indie game dev and instructor at the Strange School.
Learn Playmaker at the Strange School!
Gav (HeyBud)
Full Member
Posts: 126
Re: Can you detect gamepad in PM?
«
Reply #3 on:
August 06, 2015, 04:34:17 PM »
Cool- thanks for the reply.
Logged
Lane
Administrator
Hero Member
Posts: 2511
Mender of the past
Re: Can you detect gamepad in PM?
«
Reply #4 on:
August 06, 2015, 05:07:54 PM »
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.
Logged
Products by Cleverous
||
Vault Core
: Database
||
Vault Inventory
: Multiplayer Inventory
||
Vault Attributes
: Character Stats
||
That Hurt!
: Dmg Floaties
||
Quinn
: 3D
Gav (HeyBud)
Full Member
Posts: 126
Re: Can you detect gamepad in PM?
«
Reply #5 on:
August 07, 2015, 12:13:21 AM »
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.
Logged
inyourbus
Playmaker Newbie
Posts: 43
In Your Legends
Re: Can you detect gamepad in PM?
«
Reply #6 on:
August 07, 2015, 06:41:17 AM »
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
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/
«
Last Edit: August 07, 2015, 06:48:40 AM by inyourbus
»
Logged
One step at a time..
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Can you detect gamepad in PM?