From Middle English ondyng, equivalent to onde("to breathe, breathe on") + -ing.
From - + ding("to beat, strike").