ESP32 USB outputs?

Im wanting to create some kind of device that can give me outputs on Windows.

Almost like a PCIE I/O card would do. I want to create a USB device, ideally a ESP32 that can give me USB outputs that just show up as some kind of USB devices in control panel that can be assigned in applications etc.

Any blueprint’s out there for this or anyone done this before?

Thanks

Sorry, I do not understand your request.
What are you hoping to accomplish?
you want a keyboard? what ?

No, I want to be able to switch outputs from windows. Mainly relays, via usb

Oh I see, you want to control relays from within windows.

Is there a reason you want it to be over USB rather than wifi / mqtt?

You will need something running on windows that sends serial commands to the esp32, as the esp32 does not have USB.

It uses a USB serial chip on the pcb for programming

Yes, I’m using the esp32dev board with onboard usb

Different networks/ vlans so can’t mqtt

that USB is not connected to the ESP32, it is connected to a USB to TTL serial adapter on the board.

To use it, youll need to write a program on the computer to connect to the serial port, and they will need to communicate

Can’t you just add buttons to the ESP?
I believe that will be a lot easier than using USB