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

Reads data from the specified open HID device, with timeout.

Parameter Description
ptr HID device pointer
u8v Read buffer
timeout Timeout in ms

Example

> (define d (hid-open-path "USB_1050_0120_14300000"))
> (hid-read-timeout d (make-u8vector 100 0) 10)
0
Clone this wiki locally