// Initialize the PS4 controller // Use the PS4ButtonList to assign each of the button's individual input string keys public void SetupPS4Controller() { PS4Ctrl = new PS4Controller(ref PS4ButtonList); }
//public PS4Controller Controller { get { return _controller; } } #endregion #region Awake private void Awake() { _controller = gameObject.AddComponent <PS4Controller>(); }
public bool GetButtonUp(PS4Controller.ePS4ButtonId buttonId) { return GetButtonUp((BaseController.eButtonId)buttonId); }
public GamplayActions(PS4Controller wrapper) { m_Wrapper = wrapper; }
private void AddJoystickButtonMap(PS4Controller.ePS4ButtonId buttonId, int inputKey) { AddJoystickButtonMap((BaseController.eButtonId)buttonId, inputKey); }