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

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
Clone this wiki locally