luc-github / ESP3D-WEBUI

A Web UI for ESP8266 or ESP32 based boards connected to 3D printers / CNC
GNU General Public License v3.0
747 stars 305 forks source link

Keyboard shortcuts #257

Closed mathojojo closed 1 year ago

mathojojo commented 2 years ago

Is your feature request related to a problem? Please describe. All powerful interface, with advanced features have Keyboard shortcuts that allows better productivity.

Describe the solution you'd like It would be perfect, if you could set some shortcuts on the WebUI v3 so you can do most common operations with ease.

Example : Y + KEY_DOWN : Lower the spindle Y + KEY_UP : raise the spindle Z + KEY_DOWN : move spindle ahead Z + KEY_UP : move spindle backward X + KEY_LEFT : move spindle to left X + KEY_RIGHT : move spindle to right CTRL + J : Switch between jog distances (0.1 > 1 > 10 > 100 > 0.1 > ...)

CTRL + ALT + X : Zero X CTRL + ALT + Y : Zero Y CTRL + ALT + Z : Zero Z CTRL + ALT + 0 : Zero XYZ

CTRL + H : Homing Cycle

CTRL + A : Absolut mode (G90) CTRL + R : Relative mode (G91)

CTRL + S : Switch between spaces (G54 > G55 > G56 > G57 > G58 > G59 > G54 > ...)

CTRL + ESCAPE : Emergency STOP CTRL + ALT + ESCAPE : Reset CTRL + SPACE : Pause CTRL + U : Unlock

CTRL + KEY+ : Increase Spindle Rotation (+1000) -> Should not be able to increase above the Max value CTRL + KEY- : Decrease Spindle Rotation speed (-1000)-> Should not be able to decrease under the Min value

CTRL + M : Switch from M5 to M3 or from M3 to M5 or from M4 to M5 CTRL + ALT + M : Switch from M5 to M4 or from M4 to M5 or from M3 to M5

No shorcuts with only one key. Would make mistake to easy to happen.

It could then even be possible to map thous shortkeys with some gamepads (PS3, XBOX, Nunchuck...) on the client station for more ergonomy and versatility.

Describe alternatives you've considered Nothing to report

Additional context

Sorry, I'm giving you work with ergonomy stuff. Ergonomy is very important, but not vital :)

luc-github commented 2 years ago

currently only Jog panel support shortcuts, and they are simple ones.

Having shortcut for all features is only a nice to have because it only usable on PC interface.

Current shortcut support is basic, adding the ones you describe needs major rewrite which is not for short time due current workload

mathojojo commented 2 years ago

I hope I will soon have WebUI v3 on my xPro V5 to test all of this. Yes shortcuts are for PC interface, I suppose it is most used interface. But I may be wrong. I 'm totally aware that it must be a lot of work, and I didn't expected it for short time. As I said, it's only ergonomy, not vital, so not urgent ! :)

Thank you

luc-github commented 2 years ago

I think grblHal already support xproV5, there is basic support of webui 3.0 already, in coming weeks it should be finalized I hope

I am working on webui support for grblhal, some work still need to be done

aaronse commented 1 year ago

Recent work in https://github.com/luc-github/ESP3D-WEBUI/tree/3.0-keyboard-remaping may help with this ask.

Given work already done by Luc to enable configurable shortcuts. Maybe some additional edits by someone to enable key shortcuts for Macros would enable most/all of the scenarios @mathojojo is looking for.

aaronse commented 1 year ago

@luc-github implemented https://github.com/luc-github/ESP3D-WEBUI/commit/ba292f09c8a55b5634aab9c0ee29bb947cfbecce already, nice!

edrex commented 1 year ago

Merged via https://github.com/luc-github/ESP3D-WEBUI/pull/288

edrex commented 1 year ago

currently only Jog panel support shortcuts, and they are simple ones.

docs / source for the 2.x jog shortcuts?

luc-github commented 1 year ago

they are implemented in 3.0 not 2.x

github-actions[bot] commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.