Fix wrong register name for illumination (hidpp10)

Broken since 9a2a28e, this causes a lot of exceptions for every move.
This commit is contained in:
Peter Wu 2013-08-21 01:03:35 +02:00
parent 024a71b618
commit 9c465cd998
1 changed files with 1 additions and 1 deletions

View File

@ -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") <??> <?> <??> <light level 1=off..5=max>
# TODO anything we can do with this?
if _log.isEnabledFor(_INFO):