chromium/third_party/blink/renderer/modules/webusb/usb_control_transfer_parameters.idl

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

enum USBRequestType {
    "standard",
    "class",
    "vendor"
};

enum USBRecipient {
    "device",
    "interface",
    "endpoint",
    "other",
};

dictionary USBControlTransferParameters {
    required USBRequestType requestType;
    required USBRecipient recipient;
    required octet request;
    required unsigned short value;
    required unsigned short index;
};