hid write - part-cw/lambdanative GitHub Wiki
(hid-write ptr u8v)
Writes the specified data to the HID device, and returns the number of bytes written.
Parameter | Description |
---|---|
ptr | HID device pointer |
u8v | data to write |
Example
> (define d (hid-open-path "USB_1050_0120_14300000"))
> (hid-write d (string->u8vector "HI"))
2