- Home /
Question by
Chadin · Jul 12, 2017 at 06:58 AM ·
inputcontrollergamepadcontrollersxboxcontroller
How do I standardize my game's input to different types of controllers?
Hi,
As you know, different types of controllers have different button mappings, such as "Button 0" in an xbox controller being "A" while in my third party controller it's on "Triangle" (which is localized on top differently from "A"), and in this thread it says that in PS4 it means "square" (which is on left).
How do I standardize these in my game in the best way possible, in a way that they will all stay in the equivalent position from their Xbox counterpart when they are plugged?
Thanks.
Comment
Answer by tanoshimi · Jul 12, 2017 at 07:01 AM
Cross-platform controller input can be a PITA. I suggest you check out InControl or Rewired assets on the Asset Store, which handle all this for you.