add doubletap2wake, completely rewritten on the s2w template [showp1984]