Add an option to specify the motion events maximum frequency