From 81ae4c8d4df3cbe79c8a910642f37fa5d6e10424 Mon Sep 17 00:00:00 2001 From: Daniel Pavel Date: Fri, 21 Jun 2013 16:32:29 +0200 Subject: [PATCH] forgot about pairing notification on receiver... --- lib/logitech/unifying_receiver/base.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/logitech/unifying_receiver/base.py b/lib/logitech/unifying_receiver/base.py index d4f3a0c2..b71aa89d 100644 --- a/lib/logitech/unifying_receiver/base.py +++ b/lib/logitech/unifying_receiver/base.py @@ -264,11 +264,6 @@ def _skip_incoming(handle, ihandle, notifications_hook): def make_notification(devnumber, data): """Guess if this is a notification (and not just a request reply), and return a Notification tuple if it is.""" - if devnumber == 0x0FF: - # Assuming no notifications come for the receiver. - # Some notifications may come _from_ the receiver, but for one of its peripherals. - return - sub_id = ord(data[:1]) if sub_id & 0x80 == 0x80: # if this is a HID++1.0 register r/w, bail out