Skip to content

hid device info vendor_id

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

Returns the vendor id from the specified HID device enumeration.

Parameter Description
ptr Enumeration pointer

Example

> (define e (hid-enumerate 0 0))
> (hid-device-info->vendor_id e) 
0
Clone this wiki locally