This package is a NIF wrapper for [hidapi](

## Installation

[hidapi]( and
[libusb 1.0]( are required to be installed on target system.
For debian-based distributions use

apt-get install libhidapi-hidraw0 libusb-1.0-0

The package can be installed with:

  1. Add `hid` to your list of dependencies in `mix.exs`:

    def deps do
      [{:hid, "~> 0.1"}]

  2. Run `mix deps.get`

## Usage

See package [docs]( for details.

To list all HID devices available in system use `HID.enumerate/2`.

To read or write to device you should open device with ``. This
function will return device handle that you can use for subsequent reading and
writing with `` and `HID.write/2`. When device handle is not needed
any more use `HID.close/1` to free resources.


  * [ ] Getting device info by device handle
  * [ ] Reading/writing reports