private void SetStandaloneInputModule(GamepadInfo gi) { string h = GamepadInput.GetAxisName("Horizontal", gi.Type, gi.Id); _standaloneInputModule.horizontalAxis = h.Equals("") ? "Joystick" + gi.Id + "Axis1" : h; string v = GamepadInput.GetAxisName("Vertical", gi.Type, gi.Id); _standaloneInputModule.verticalAxis = v.Equals("") ? "Joystick" + gi.Id + "Axis2" : v; _standaloneInputModule.submitButton = GamepadInput.GetButtonForUI("Submit", gi.Type, gi.Id); _standaloneInputModule.cancelButton = GamepadInput.GetButtonForUI("Cancel", gi.Type, gi.Id); }