hid get feature report - part-cw/lambdanative GitHub Wiki

(hid-get-feature-report ptr len)

Returns a u8vector with the feature report from the open HID device pointer.

Parameter Description
ptr HID device pointer
len Maximum data length

Example

> (define d (hid-open-path "USB_1050_0120_14300000"))
> (hid-get-feature-report u 1000)
#u8(0 4 1 8 0 0 1 0)