Function libtrancevibe::get_devices [] [src]

pub fn get_devices() -> Result<Vec<TranceVibeDeviceInfo>>

Returns vector of all current available connected TranceVibrators.

Polls the system and returns TranceVibeDeviceInfo structs for all connected TranceVibrators. These structs can then have TranceVibeDevice::open() called on them to actually open the device.

Error

Returns libusb specific errors if any arise.