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 Feedback
»
Action Requests
(Moderator:
600
) »
Actions to get infos from joystick
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Actions to get infos from joystick (Read 3485 times)
blackant
Hero Member
Posts: 525
http://blackantmaster.com
Actions to get infos from joystick
«
on:
August 10, 2014, 02:17:00 AM »
should be nice to have things like:
connected player 1,2,3,4
disconnected Player 1,2,3,4
so we can setup different menus actions by mouse or joystick
and maybe others actions i don't have reflect about it...
Logged
http://blackantmaster.com
https://store.steampowered.com/app/1017340/FitnessVR/
jeanfabre
Administrator
Hero Member
Posts: 15612
Official Playmaker Support
Re: Actions to get infos from joystick
«
Reply #1 on:
August 11, 2014, 09:42:02 AM »
Hi,
Can you elaborate? do you mean you want to assign a device to a player n your game so that other player device assignment is left untouched as devices are plugged unplugged or selected?
Bye,
Jean
Logged
blackant
Hero Member
Posts: 525
http://blackantmaster.com
Re: Actions to get infos from joystick
«
Reply #2 on:
August 11, 2014, 05:47:40 PM »
well my idea is simple
when my joystick is connected or disconnected, unity auto detect it and send a message to log window.
i'm wondering how it's possible with playmaker.
also may be usefull to know Wich joystick number is on or off (for battery for exemple)
Logged
http://blackantmaster.com
https://store.steampowered.com/app/1017340/FitnessVR/
jeanfabre
Administrator
Hero Member
Posts: 15612
Official Playmaker Support
Re: Actions to get infos from joystick
«
Reply #3 on:
August 18, 2014, 04:39:51 AM »
Hi,
Are you using the custom actions like GetNextJoystickName?
As for battery life, there is no such thing in Unity, the joystick is either detected or not.
I would recommand you use InputControl, I made a abstract layer on top where you can assign a joystick to a player, regardless of it's index in the joystick list, which is much better than relying on the order of connections..
https://trello.com/c/c8YAecdL/60-incontrol
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Feedback
»
Action Requests
(Moderator:
600
) »
Actions to get infos from joystick