-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/beboxos/circuitpython into …
…main
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<h1> UART to HID </h1> | ||
|
||
1. What is for ? | ||
|
||
this little code is to use a seeed xiao as HID proxy. For example an ESP32 can't have HID function. with UART to HID you can manage keyboard stroke thru command sended over UART. | ||
language command is simple because it's the well known [Hak5 Rubber ducky language](https://docs.hak5.org/hc/en-us/articles/360010555153-Ducky-Script-the-USB-Rubber-Ducky-language). | ||
|
||
i added a little trick that let you use XIAO as classic autonomous USB rubber ducky like. At boot le script start by running all commands in boot.txt (in [this example](https://github.com/beboxos/circuitpython/blob/main/Seeed%20XIAO/UartToHID/boot.txt) at start wait 1 second then press GUI aka windows key then wait 1 second and press again GUI key) once code is finished it start waiting commands on UART. | ||
|
||
i fixed speed to classic 9600 bauds. | ||
|
||
by default i fixed keyboard layout to FR azerty keyboard edit first line to layout = us for us keyboard | ||
|
||
Warning : use libs from this repository because i have modified them to fit in xiao and added some feature in it. | ||
|
||
i build and hardware with grove plug to be compatible with M5stack devices | ||
|
||
 | ||
|
||
then here is an example of code on m5stack core 2 UIFLOW | ||
|
||
 | ||
|
||
 |