From 9c465cd998026d93389adcfaabb02f45f6649422 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Wed, 21 Aug 2013 01:03:35 +0200 Subject: [PATCH] Fix wrong register name for illumination (hidpp10) Broken since 9a2a28e, this causes a lot of exceptions for every move. --- lib/logitech_receiver/notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logitech_receiver/notifications.py b/lib/logitech_receiver/notifications.py index ac6df189..7a0d2664 100644 --- a/lib/logitech_receiver/notifications.py +++ b/lib/logitech_receiver/notifications.py @@ -127,7 +127,7 @@ def _process_hidpp10_custom_notification(device, status, n): status.set_battery_info(charge, status_text) return True - if n.sub_id == _R.illumination: + if n.sub_id == _R.keyboard_illumination: # message layout: 10 ix 17("address") # TODO anything we can do with this? if _log.isEnabledFor(_INFO):