public static IEnumerable <IAction> GetAllAvailable() { return(KeyboardKeyAction.GetAll().Concat(InputManager.GamePads.SelectMany(GamePadAction.GetAll))); }
public static IAction FromString(string value) { return(value.ToLowerInvariant().Trim() == "unbound" ? InputAction.Unbound : KeyboardKeyAction.FromString(value) ?? GamePadAction.FromString(value)); }