
However I think the bigger issue is that two controllers with similar physical layouts and shared button index number or axis numbers might have conflicting mappings. For example, on PS4, X is button 1, not zero, and R2 is 3rd Axis or 7th button. But the image is not accurate, at least for the PS4. I have an Xbox One controller which seems to have the same mapping as the "Jimmy Vegas" picture above.
#INPUTMAPPER DS4 GAMECUBE PROFILE BLUETOOTH#
If you're going for non-standard controllers, you might check the Asset store? I know for instance there is a package that lets you get input from a Wii remote via bluetooth on there - possibly there are others for the controller you're interested in?
#INPUTMAPPER DS4 GAMECUBE PROFILE INSTALL#
PS4 and XB controllers are going to be the vast majority of your install base. I'd double-check your project against that just to make sure it all lines up.Īs for other controllers, I'm not sure - I imagine unity's support varies from controller to controller, I doubt there is one single sure-fire way to support every one. I've included an example of what they look like by default, with the horizontal and vertical controller setups expanded for details. Is it possible that your input settings of your project have gotten mangled? You can check this by going Edit > Project Settings > Input in unity. Just to ensure this was accurate, I tried plugging both an XB and PS4 controller in and using both on a my project, and both responded identically using the default unity Input setup. The labels correspond very closely between the two controller types.

This graphic (courtesy Jimmy Vegas - source ) is useful in knowing the button labels to match up with Inputs.

I am not sure what's causing you to see the X/Y Axis mismatch between the controller types, but that's not how the unity input is set up by default - on both the PS4 and XB controllers, the button with the "X Axis" label is the left-stick horizontal axis, and the "Y Axis" label is the left-stick vertical axis. I'm not sure about any possible controller out there, but at the very least for PS4 and XB controllers, the default unity input settings should work pretty well.
