cncjs / cncjs-pendant-keyboard

A simple pendant (using wireless keyboard or usb) to CNCJS
MIT License
24 stars 24 forks source link

Configurable keyboard pendant #12

Open jochenderwae opened 1 year ago

jochenderwae commented 1 year ago

So,... the original implementation of cncjs-pendant-keyboard had exactly one keyboard and keyboard layout baked in to the code. Instead of cloning and hacking in the changes relevant to me, I decided to open it up somewhat and make it configurable through the .cncrc file.

And since configuring a USB HID keyboard and the keymapping is not straightforward, I decided to add in a configuration tool.

It's not the best or most finished code I've ever written, but this is as far as my energy could bring me, at the moment. I'm willing to do some more updates later on (especially if some requests come in).

The readme.md and package.json reference my fork of cncjs-pendant-keyboard, I suppose you want to change those URLs before accepting the pull request.

Let me know if you have any more questions or if I have to clean something up.