mirror of
https://github.com/G2-Games/cross-usb.git
synced 2025-04-19 13:22:53 -05:00
v0.3.0
This commit is contained in:
parent
15f8875b6e
commit
35ed1e273b
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "cross_usb"
|
name = "cross_usb"
|
||||||
version = "0.2.3"
|
version = "0.3.0"
|
||||||
authors = ["G2-Games <ke0bhogsg@gmail.com>"]
|
authors = ["G2-Games <ke0bhogsg@gmail.com>"]
|
||||||
repository = "https://github.com/G2-Games/cross-usb"
|
repository = "https://github.com/G2-Games/cross-usb"
|
||||||
documentation = "https://docs.rs/cross_usb"
|
documentation = "https://docs.rs/cross_usb"
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
//! use cross_usb::usb::{UsbDescriptor, UsbDevice, UsbInterface, Recipient, ControlType, ControlIn};
|
//! use cross_usb::usb::{UsbDescriptor, UsbDevice, UsbInterface, Recipient, ControlType, ControlIn};
|
||||||
//! use cross_usb::device_filter;
|
//! use cross_usb::device_filter;
|
||||||
//!
|
//!
|
||||||
//! // Obtain a device descriptor (UsbDescriptor) using a DeviceFilter,
|
//! // Obtain a device descriptor using a DeviceFilter,
|
||||||
//! // in this case with its VendorID and ProductID
|
//! // in this case with its VendorID and ProductID
|
||||||
//! let filters = vec![
|
//! let filters = vec![
|
||||||
//! device_filter!{vendor_id: 0x054c, product_id: 0x00c9}
|
//! device_filter!{vendor_id: 0x054c, product_id: 0x00c9}
|
||||||
|
|
Loading…
Reference in a new issue