Skip to content
Chris Petersen edited this page Mar 4, 2016 · 1 revision

Opens a HID device and returns pointer.

Parameter Description
vid Vendor id
pid Product id
serno Serial Number

Example

> (hid-open 1452 772 "")
#<hid_device* #9 0x7f80c8415350>
> (hid-close #)
Clone this wiki locally