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.
master
Dennis Potter 4 years ago
parent 7c7c99d52b
commit 60aa8037fb
  1. 2
      src/main.rs

@ -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),

Loading…
Cancel
Save