Added short description about HidApi

In hidapi v0.4.1 it is not yet possible to store the HidDevice in a
struct. Although there is already a pull request to implement this, it is not yet merged.
This commit is contained in:
Dennis Potter 2018-07-24 00:16:28 +02:00
parent 7c7c99d52b
commit 60aa8037fb
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ fn main() {
}
// Open device
// This is the reason, the device is not part of the struct: https://github.com/Osspial/hidapi-rs/issues/16
// Maybe this can be fixed, as soon as this is merged into the crate: https://github.com/Osspial/hidapi-rs/pull/12
let vld_dev = [
(0x0c45u16, 0x7403u16),
(0x0c45 , 0x7404),