@XEMON If you’re looking for the code for a wireless keyboard wedge:
A lesson I had to learn the hard way is the ESP32 ≠ ESP32-S2, the S2 version has the OTG pins required for pretending to be a USB keyboard. The ESP32 does not, meaning the ESP32 can only be a bluetooth keyboard wedge, not a USB keyboard wedge.