It would be great to have a calibrate_trackball() function which simply returns the number of "dots" it takes for the ball to rotate 360 degrees. Could take a n_rotations, where the user specifies how many times the ball was rotated (n * 360 degrees). The output can then be used in read_trackball() as the ball_calibration argument.
It would be great to have a
calibrate_trackball()
function which simply returns the number of "dots" it takes for the ball to rotate 360 degrees. Could take an_rotations
, where the user specifies how many times the ball was rotated (n * 360 degrees). The output can then be used inread_trackball()
as theball_calibration
argument.