How to use the hidapi.monitor_glib function in hidapi

To help you get started, we’ve selected a few hidapi examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pwr-Solaar / Solaar / lib / logitech_receiver / View on Github external
def notify_on_receivers_glib(callback):
	"""Watch for matching devices and notifies the callback on the GLib thread."""
	_hid.monitor_glib(callback, *_RECEIVER_USB_IDS)