Can you add a SystemControl Device ?
so that we can send SYSTEM_CONTROL_POWER_OFF like the USBHID can.
This will be great
This is from the file C:\Users\xxxx.platformio\packages\framework-arduinoespressif32\libraries\USB\src\USBHIDSystemControl.h
#define SYSTEM_CONTROL_NONE 0
#define SYSTEM_CONTROL_POWER_OFF 1
#define SYSTEM_CONTROL_STANDBY 2
#define SYSTEM_CONTROL_WAKE_HOST 3