Sending keyboard codes from a script
Posted: Mon Feb 14, 2022 2:14 pm
The espusb code provides a nice websockets interface that is suitable for a browser interaction, but not scriptable as far as I can tell.
I'm looking for a way to send a keycode from a script. Using curl would be fine, or I can even directly send a UDP packet.
I'm trying to decipher the message forma required by the issue() function to send a keyboard keypress.
I've started a thread on the espusb github issues page
If anyone has successfully scripted the espusb, please post here or there.
I'm looking for a way to send a keycode from a script. Using curl would be fine, or I can even directly send a UDP packet.
I'm trying to decipher the message forma required by the issue() function to send a keyboard keypress.
I've started a thread on the espusb github issues page
If anyone has successfully scripted the espusb, please post here or there.