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

(hid-send-feature-report ptr u8v)

Sends feature report to the specified open HID device, and returns number of bytes written.

Parameter Description
ptr HID device pointer
u8v Feature report vector

Example

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