I think that a check to make sure that everything is within limits would be good especially when dealing with potential mm and inch conflicts for values due to oversights like the one I made.
How to check limits? I do not know the limits of the users hardware. So if you enter maxvel=100 is a a valid value?
I know a machine running at 60.000 mm/min milling wood, but in Inch that would be very fast!
The user is responsible for the settings, If he do enter a mm value and leave the units in inch, it will cause strange behavior.
What I mean is: If a user have a maxvel of 100 units/sec and a default vel of 5 units/sec, set the turtle jog mode, and if he has a default vel of 60 units/sec set the rabbit jog mode.
Or just save the state of the button, and restart with the state the button had when closing the GUI.
Norbert