Skip to content

hid device info product_id

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

Returns the product ID from the specified HID device enumeration.

Parameter Description
ptr Enumeration pointer

Example

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