Example #1
0
 public void RemoveControlListener(AxisType axisType, GamepadControlChangeEvent listener)
 {
     if (ControlMap.ContainsKey(axisType))
     {
         ControlMap[axisType].GamepadControlChange -= listener;
     }
 }
Example #2
0
        public void RemoveControlListener(AxisType axisType, GamepadControlChangeEvent listener)
        {
            IGamepadControl control;

            if (ControlMap.TryGetValue(axisType, out control))
            {
                control.GamepadControlChange -= listener;
            }
        }