From 2327a0012eeb057bca8f2556077f69edcb2dd6f4 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Sat, 4 May 2013 20:02:37 +0200 Subject: [PATCH] descriptors.py: Clarify use of negative values The negative behavior is not obvious, document it in the descriptors.py file such that people who edit it to add new devices know how it works. --- lib/logitech/unifying_receiver/descriptors.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/logitech/unifying_receiver/descriptors.py b/lib/logitech/unifying_receiver/descriptors.py index 67f21b1b..e128877c 100644 --- a/lib/logitech/unifying_receiver/descriptors.py +++ b/lib/logitech/unifying_receiver/descriptors.py @@ -76,6 +76,8 @@ def _D(name, codename=None, kind=None, registers=None, settings=None): # Some HID++1.0 registers and HID++2.0 features can be discovered at run-time, # so they are not specified here. +# Registers are only supported for HID++ 1.0 devices. Specify a negative value +# to blacklist that register (prevent Solaar from accessing the register) # Keyboards