Add PS4 controller mapping input keys to your Makinom project.
This’ll add input key data assets to your project.
Before importing the nodes into your Unity project, make sure you’ve got Makinom imported in it. You’ll need at least Makinom 2.0.0.
The input keys will be imported into Assets/Gaming Is Love/_Data/Input Key/ and will be available after importing.
Please open the Makinom editor after import and save once to make sure the references to the new input keys are saved in the project.
The left stick (LS), right stick (RS), D-Pad and L2/R2 triggers require a Unity Input Manager setup. You can open the Unity Input Manager via Edit > Project Settings > Input Manager.
The following axes have to be added to the input manager:
Alternatively, you can also copy the following data into your project’s InputManager.asset file. The file is located in the ProjectSettings folder of your Unity project.
Just add the data after the last data of the file – make sure to close and reopen the Unity editor to get the renewed setup.
© 2015 Gaming is Love e.U.
Disclosure: This site may contain affiliate links, which means I may receive a commission if you click a link and purchase something that I have recommended. While clicking these links won’t cost you any money, they will help me fund my development projects while recommending great assets!