A method of measuring movement of an input device and object (15) relative to each other along at least one measuring axis, the method comprising the steps of illuminating an object surface with a measuring laser beam (13), emitted from the laser cavity of a laser device (3), for each measuring axis, generating a measurement signal representative of changes in operation of the laser cavity, said changes being due to interference of measuring beam radiation re-entering said laser cavity and an optical wave in said laser cavity and being representative of said movement along said at least one measuring axis, selecting, in dependence on the speed of movement of said input device and said object (15) relative to each other, one of at least two parameters of said measurement signal and determining from said selected parameter the speed and direction of said movement, and generating an electric signal representative of said speed and direction of movement.