- Home /
Map iOS joystick to the input manager?
Is there a way to map the output of the onscreen joystick to one of the axis in the the Unity input manager. For example the keyboard arrow keys are mapped to the "horizontal" and "vertical" axis. Is it possible to map the joystick output to "horizontal" and "vertical".
Thanks in advance.
Answer by Eric5h5 · Mar 28, 2012 at 08:31 PM
The input manager isn't scriptable at all.
Then how do I use the output of the joystick on anything but the Penelope project?
I don't really understand the question...you would just use whatever the joystick code outputs. I haven't seen the code so I don't know what the output might be.
Answer by Roidz · Apr 08, 2012 at 01:58 AM
The default input manager isnt scriptable indeed - but cinput is a alternative inputmanager that fills up that gab. Check it out here: http://cinput2.weebly.com/
Your answer
Follow this Question
Related Questions
how to detect if my game is running on iphone or in Unity? 1 Answer
Multiple joystick input 2 Answers
Trouble with changing the sensitivity of an axis 0 Answers
Input.mouse position on GUI Textures 2 Answers
How can i make button on iOS instead key 0 Answers