blob: 8c209c3c1698fc88f5ce520d1f2a27b9d7a7b45b [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library ddk.protocol.usb_mode_switch;
using ddk.protocol.hidbus;
using zircon.device.usb_device;
using zx;
[Layout="ddk-protocol"]
interface UsbModeSwitch {
1: SetMode(zircon.device.usb_device.UsbMode mode) -> (zx.status s,
ddk.protocol.hidbus.HidInfo info);
};