modif registerGesture