add sweep2wake and doubletap2wake