InControl includes an
InControlInputModule component which you can add to the
EventSystem game object. It is intended to replace the default
StandaloneInputModule component to feed input events directly from InControl to the new Unity GUI added in Unity 4.6.
You can drag it onto the
EventSystem game object, or add it via
Add Component > Event > InControl Input Module and then disable or remove
By default it works identically to
StandaloneInputModule except that it reads from InControl’s current active device (
InputManager.ActiveDevice). If you’d like to use it with the new bindings API, you can use set the following properties:
CancelAction (both of type
MoveAction (of type
Here is an example “adapter” script that uses the bindings API with
InControlInputModule. Of course you might use your actions from elsewhere in your project instead of the example action set shown here.