示例#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)
示例#2
0
文件: base.py 项目: yunpub/Solaar
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)
示例#3
0
文件: base.py 项目: 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)