Based on this firmware : https://emilespecialproducts.github.io/UltraWiFiDuck/upload.html

And this chip https://www.ebay.com.au/itm/225193258084?var=524757990228

You will need an ESP32-S3 for this one as its the only Keyboard Emulator built in

The following devices are supported. Device|USB Keyboard/mouse|Bluetooth Keyboard/mouse ESP32-S3|Yes|Yes ESP32-S2|Yes|No ESP32-C3|No|Yes ESP32-C6|No|Yes

Open this page in Chrome when the device is connected to your PC

https://emilespecialproducts.github.io/UltraWiFiDuck/upload.html

In the Functions Section there will be an upload button for the device

Once installed the Device will create a new AP called UltraWifiDuck Connect to it and a Captive Portal will open Once there edit the "Settings.txt" from the Web Page thats opened and insert your wifi details Reboot the unit and connect to the new IP address on your Wifi

So far on the Mac the mouse.txt example is the best as most other built in functions are for windows. Find the mouse.txt in the list and click run. Make sure the device is connected to your PC and running on the Wifi. ( It has startup problems and had to be restarted most days )

ESP 32-S3