Records detected gestures