daemon3000 / InputManager

Custom InputManager for Unity
Other
587 stars 88 forks source link

DPAD error #5

Closed rbozan closed 9 years ago

rbozan commented 9 years ago

I'm getting errors where the DPAD inputs are trying to be received by the input adapter, but they only give an error if you didn't mention the DPAD inputs in your own custom input file. Deleting some code in the script fixes it (the part where the DPAD input gets requested).

daemon3000 commented 9 years ago

In order to work correctly the input adapter needs an additional four axes in the XBox configurations( for the left trigger, for the right trigger and two for the DPAD, horizontal and vertical). I've exposed these axes in the inspector to make it more clear that they are required. You can also go to the File menu in the Advanced Editor and select Configure For Input Adapter which will create all the input configurations and axes necessary for the input adapter to work correctly.

input_adapter

config_for_input_adapter