The Heaviside step function is usually defined as
$$ \theta(x)=\left\{\begin{array}{ll}0&\text{if }x<0\\\tfrac12&\text{if }x=0\\1&\text{if }x>0.\\\end{array}\right. $$
It is remarkably simple and doesn't take a lot of work to define, though if used properly it does play an important role in a number of fields, including notably the study of distributions. It is nevertheless named after Oliver Heaviside.
What was his involvement with this function, and why does it merit this honour? In particular, I'm looking for well-documented sources which show his use of the concept and the context in which he used it. Ideally, I would also like references to the initial works which associate his name with the function, and their reasons for doing so.