From 152abb086ac0a7a25f1a34b99448da6d087be08b Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Sun, 19 May 2013 10:14:31 +0200 Subject: [PATCH] hid10: document notifications better See [registers.txt][1] for 'keyboard_backlight'. The behavior of keyboard_sleep_raw and keyboard_multimedia_raw is described at [keyboard.txt][2]. [1]: https://git.lekensteyn.nl/ltunify/tree/registers.txt [2]: https://git.lekensteyn.nl/ltunify/tree/keyboard.txt --- lib/logitech/unifying_receiver/hidpp10.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/logitech/unifying_receiver/hidpp10.py b/lib/logitech/unifying_receiver/hidpp10.py index 5ed6d959..7ce96889 100644 --- a/lib/logitech/unifying_receiver/hidpp10.py +++ b/lib/logitech/unifying_receiver/hidpp10.py @@ -46,10 +46,10 @@ POWER_SWITCH_LOCATION = _NamedInts( # but right now we don't know enough. NOTIFICATION_FLAG = _NamedInts( battery_status=0x100000, # send battery charge notifications (0x07 or 0x0D) - keyboard_sleep_raw=0x020000, # guess - keyboard_multimedia_raw=0x010000, # guess + keyboard_sleep_raw=0x020000, # system control keys such as Sleep + keyboard_multimedia_raw=0x010000, # consumer controls such as Mute and Calculator # reserved_r1b4=0x001000, # unknown, seen on a unifying receiver - keyboard_backlight=0x000200, # guess + keyboard_backlight=0x000200, # illumination brightness level changes (by pressing keys) software_present=0x000800, # .. no idea wireless=0x000100, # notify when the device wireless goes on/off-line )