With a normal scotch yoke mechanism, thinking of a jack screw type scotch yoke, the slider that the travelling nut is mounted in causes the fulcrum arm length to be constantly changing, giving the uneven movement, or nonlinear velocity. I am not going to propose how to construct it, but if you make the jack screw slide on a suitable mechanism, and fix the nut on the arm, then the fulcrum length stays constant, and the movement will be linear with shaft speed. Now it is up to you to figure out how to implement this modfication so that it will work.
rmw