rowiac
Full Member
Posts: 230
Location: California
Machine: M3
|
Post by rowiac on May 20, 2019 15:35:10 GMT
Is it possible to assign keystrokes to different jog increments? NOT to change the increment, but something like this example: Ctrl and Right Arrow - Jog Right in .01mm increments LeftShift and Right Arrow - Jog Right in .1mm increments RightShift and Right Arrow - Jog Right in 1mm increments Tab and Right Arrow - Jog Right in 5mm increments Alt and Right Arrow - Jog Right in 10mm increments If that were possible I could use an Arduino Nano to make a pendant with buttons for each unique keystroke combo, giving me complete control over Jog direction AND increment in one place. I currently have ctrl-right/left/up/down mapped to the jog controller but it's annoying on Windows because ctrl-l/r moves the cursor if you're sitting in a text box (my solution is to hit "alt" changing the focus to the menu bar). I really do like the idea of having dedicated jog increments, though. I'd just make a little macro pad with a Teensy2 controller, so you can use the QMK keyboard firmware unmodified. (It's a little cheaper, too: www.pjrc.com/store/teensy.html if you're curious. I've made more keyboards with my CNC than anything else, at this point)
-Kev
freik /Kev, I saw this pendant on Thingiverse--it has a rotary controller and an X/Y/Z switch (https://www.thingiverse.com/thing:3566236), but rotating the knob seems tedious, especially if the steps are set small. Dedicated jog increments with buttons does seem like a good solution. Can you provide a little more info on your keyboard with the Teensy2 controller? The pendant in the Thingiverse link uses an Arduino Pro Micro with a USB breakout board. It looks like the Teensy2 might be an all-in-one solution.
|
|
freik
Full Member
"What did you buy the new CNC Router for?" "To make stuff for my CNC Router!"
Posts: 107
Location: Bellevue, WA
Machine: Power Route
|
Post by freik on May 20, 2019 17:40:21 GMT
rowiac , I've built a few different keyboards (you can see a couple of them on github). After looking at the Thingiverse you linked, I could see both an up & downside to the rotary knob, but I think I'd prefer dedicated jog buttons. And I also think I could beat even the Teensy2 with a TeensyLC for the USB keyboard controller (it's $12). I'm thinking a couple buttons to set the speed, and an inverted T cluster for X/Y movement, plus a dedicated couple of raise/lower buttons. I'll throw something together in Fusion360 some time this week, maybe. -Kev
|
|
|
Post by Big Man Black T-Shirt(Patrick) on May 20, 2019 18:19:49 GMT
I built one using a Teensy a few years ago but I never made it into an actual controller. What I'd like to do is just have L, R, U, D buttons and a 5th button to quickly set the jog increments to whatever I want them to be. If we can get UGS to allow us to set keystrokes for those functions, then creating a custom controller with our own preferences for jogging would be pretty easy.
|
|
rowiac
Full Member
Posts: 230
Location: California
Machine: M3
|
Post by rowiac on May 20, 2019 23:03:51 GMT
Big Man, I've set keystrokes in UGS for L/R/Up/Down (I'm using the arrow keys) and that works fine. Are you talking about mapping key(s) to set the jog increment? I have not tried that, but maybe using freik's larger/smaller jogspeed add-on could do it.
Freik, Interesting keyboard project.
|
|
|
Post by Big Man Black T-Shirt(Patrick) on May 21, 2019 2:31:30 GMT
Big Man, I've set keystrokes in UGS for L/R/Up/Down (I'm using the arrow keys) and that works fine. Are you talking about mapping key(s) to set the jog increment? I have not tried that, but maybe using freik's larger/smaller jogspeed add-on could do it. Freik, Interesting keyboard project. I want to not only change the increments, I want control over how much I change the increments. I'd like to be able to set the increments to say 1mm, 5mm, 10mm, etc. or any other combinations I choose.
|
|