So I'm making a pendant for my CNC that just sends basic key strokes to the computer. What I'm looking for is a way to set the jog increment based on a single button I click but I can't find any information on how to set the jog increment up using a hot key. (I'm not talking about alt+J, I'm not looking to cycle it, I want to click a specific increment)
So what I want to do is as follows
Press Switch 1 → Switch 1 sends a [hot key command] to computer → Jog increment set to 1.000
Press Switch 2 → Switch 2 sends a [hot key command] to computer → Jog increment set to 0.100
Press Switch 3 → Switch 3 sends a [hot key command] to computer → Jog increment set to 0.010
Press Switch 4 → Switch 4 sends a [hot key command] to computer → Jog increment set to 0.001
Press Switch 5 → Switch 5 sends a [hot key command] to computer → Jog increment set to 0.100
Now as far as hot key commands go, I'm trying to keep it simple like
Ctrl+Alt+Shift+I
Ctrl+Alt+Shift+O
Ctrl+Alt+Shift+P
Ctrl+Alt+Shift+[
and I'd like to not have to refer to some VB script or something even more extravagant than that.
For each increment. So if I hit Ctrl+Alt+Shift+I, the increment is set to 1.000, and if I hit Ctrl+Alt+Shift+P, the increment is set to 0.010 and if I hit Ctrl+Alt+Shift+O, it's 0.100 and so on.
And lastly, in case anyone is confused. I want to make these buttons essentially :
https://i.imgur.com/pQkZUcm.png