Exemplo n.º 1
0
 public bool IsPS4BtnDown(PS4Controller.PS4_CTRL_MAP _btn)
 {
     return PS4Ctrl.PS4Map[_btn].IsKeyDown;
 }
Exemplo n.º 2
0
 // Get the Input string key of the PS4 controller buttons
 public string GetCtrlKeyName(PS4Controller.PS4_CTRL_MAP _btn)
 {
     return PS4Ctrl.PS4Map[_btn].InputKey;
 }
Exemplo n.º 3
0
 // Get the specific PS4 button
 // Should rarely get called
 public PS4Command GetInputKey(PS4Controller.PS4_CTRL_MAP _btn)
 {
     return PS4Ctrl.GetInputKey(_btn);
 }
Exemplo n.º 4
0
 // Set the Delegate function of each individual PS4 buttons
 public void SetPS4BtnCtrl(PS4Controller.PS4_CTRL_MAP _btn, CtrlCommand.DelegateFunction _btnCtrl)
 {
     PS4Ctrl.PS4Map[_btn].CommandFunc = _btnCtrl; 
 }