#pragma warning restore 0649 protected override void InputUpdate() { XInput.Direction direction = XInput.GetDPadDirection(playerIndex); foreach (DPadDirection dPadDirection in dPadDirections) { // That way, we only enable the current direction's image dPadDirection.EnableImage(dPadDirection.IsConcerned(direction)); } }