cnlohr / espusb

Software-only ESP8266 USB Device
Other
1.47k stars 230 forks source link

Can mqtt be used to control the mouse and keyboard? #71

Open sheminasalam opened 1 year ago

sheminasalam commented 1 year ago

Instead of using the browser how can I use mqtt to control the movements and clicks? can this project be adapted for that?

cnlohr commented 1 year ago

Absolutely! But you would need to write the code to do it!

It wouldn't be too hard, but you would need to familiarize yourself with this codebase.

sheminasalam commented 1 year ago

I haven't done this level of coding. can you give me som pointers on which files should I edit and how should i try to implement this.

Also will it be possible to move the mouse to a specific point on the screen?

cnlohr commented 1 year ago

Try to get to the point where you can printf(...) then printf a bunch of stuff in main to figure out what's actually happening.

It will be annoying and tricky to resurrect the build chain for this. You can ask for help on my Discord server in the espusb channel.