Struct gcnctrlusb::Adapter [] [src]

pub struct Adapter<'a> { /* fields omitted */ }

A wrapper around the unopened USB device.

Methods

impl<'a> Adapter<'a>
[src]

Opens the USB device and initializes the hardware for reading controller data.

If the device is inaccessible or unrecognizable, an error is returned. For example, the device will be inaccessible if a previous Listener for this adapter is still alive.