// 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); | |
}; |