hid set nonblocking - part-cw/lambdanative GitHub Wiki
(hid-set-nonblocking ptr flag)
Sets nonblocking flag of the open HID device, and returns #t on success, otherwise #f.
Parameter | Description |
---|---|
ptr | HID device pointer |
flag | Non-blocking flag |
Example
> (define d (hid-open-path "USB_1050_0120_14300000"))
> (hid-set-nonblocking d 1)
#t