USBDirection
WebUSB API defines USBDirection
enum USBDirection { "in", "out" };
USBDevice
USBEndpoint