I'm in the process of making my own custom control pad for my mill. Im making it from an arduino with built in USB keyboard drivers, so its basically a configurable keyboard. But I'm stuck on two things.

1 When I'm running code, the stop button on the mach3 main screen stops the mill, as does the keyboard shortcut marked on the button, alt-a. When I'm homing the mill (ref all home) , the button stops it, but alt-a does nothing. Is there a special command to abort the homing?

2 On this control pad I would like to be able to adjust the homing speed. Is there a way to assign fixed jog speed values to keyboard shortcuts? And are there any increase/decrease commands for the job speed?

Best regards
Ellobo91