Added events for endstops with user configurable patterns