static public bool AreCurrentAndPastValues <T, J>(this GamepadEventHistory <T> item, ICollection <J> sequence, Relation <T, J> relation) { return(item.AreCurrentAndPastEvents(sequence, (e, o) => relation(e.GetValue(), o))); }
static public bool AreCurrentAndPastEvents <T, J>(this GamepadEventHistory <T> item, IEnumerable <J> sequence, Relation <GamepadEvent <T>, J> relation) { return(item.AreCurrentAndPastEvents(sequence.ToList(), relation)); }