Esempio n. 1
0
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)
Esempio n. 2
0
def notify_on_receivers_glib(callback):
    """Watch for matching devices and notifies the callback on the GLib thread."""
    return _hid.monitor_glib(callback, filter_either)
Esempio n. 3
0
File: base.py Progetto: 3v1n0/Solaar
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)