Ejemplo n.º 1
0
 public ActionCombination GetBinding(string key, InputContext context)
 => GetInputMethod(context)?.GetCombination(key);
Ejemplo n.º 2
0
 public bool GetInputUp(string key, InputContext context)
 => GetInputMethod(context)?.GetInputUp(key) ?? false;
Ejemplo n.º 3
0
 public void ChangeAllKeyBindings(List <InputCombination> keys, InputContext context)
 => GetInputMethod(context)?.SetAllBindings(keys);
Ejemplo n.º 4
0
 public float GetInput(string key, InputContext context)
 => GetInputMethod(context)?.GetInput(key) ?? 0f;
Ejemplo n.º 5
0
 public void ChangeKeyBinding(string key, InputCombination newVal, InputContext context)
 => GetInputMethod(context)?.SetBinding(key, newVal);