コード例 #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)