Inheritance: BaseController
Beispiel #1
0
 // 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);
 }
Beispiel #2
0
        //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);
 }
Beispiel #4
0
 public GamplayActions(PS4Controller wrapper)
 {
     m_Wrapper = wrapper;
 }
 private void AddJoystickButtonMap(PS4Controller.ePS4ButtonId buttonId, int inputKey)
 {
     AddJoystickButtonMap((BaseController.eButtonId)buttonId, inputKey);
 }