First port of Doubletap2Wake and Slide2wake