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

Returns list of connected HID devices.

Example

> (hid-device-list)
(((path . "USB_05ac_0304_14400000")
  (vendor_id . 1452)
  (product_id . 772)
  (serial_number . "")
  (release_number . 272)
  (manufacturer_string . "Mitsumi Electric")
  (product_string . "Apple Optical USB Mouse")
  (usage_page . 1)
  (usage . 2)
  (interface_number . -1))
 ((path . "Bluetooth_05ac_0255_6b0e56e6")
  (vendor_id . 1452)
  (product_id . 597)
  (serial_number . "c8-e0-eb-0e-56-e6")
  (release_number . 80)
  (manufacturer_string . "Apple")
  (product_string . "Apple Wireless Keyboard")
  (usage_page . 1)
  (usage . 6)
  (interface_number . -1))
 ((path . "")
  (vendor_id . 0)
  (product_id . 0)
  (serial_number . "")
  (release_number . 0)
  (manufacturer_string . "")
  (product_string . "Apple Mikey HID Driver")
  (usage_page . 12)
  (usage . 1)
  (interface_number . -1)))
Clone this wiki locally