I need to control my printer(s) with a wireless keyboard. I can plug the keyboard into the host port of the PI and see it in Debian.
I need to:-
- Prevent any other application including the Debian console from getting the usb input from that particular device (and that device only).
- Decode the Usb HID information to pipe it to the OctoPrint server (in the backend)
- Have the server send the relevant command to Marlin (and I might have to modify Marlin 2.0) to perform the required task.
I already know that octoprint's web interface can accept keyboard input but I want to map those functions (as is) to a physical keyboard that is plugged in.
Can anyone help with any of those 3 requirements. I'll be publishing my solution, assuming it's practical, to git hub for all to use afterwards.