Skip to content

hid set nonblocking

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

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