From aeb943fc9eb543c6a3133f602abe050fe2c66b90 Mon Sep 17 00:00:00 2001 From: Josenivaldo Benito Jr Date: Thu, 10 Nov 2016 11:39:02 -0200 Subject: [PATCH] Descriptor for K270 and M185 This K270 is the non unifying version and we know that it has, at least, one variation (unifying) out there. M185 mouse is also older, as per PR #337 there is at least two newer versions of this mouse. Signed-off-by: Josenivaldo Benito Jr --- lib/logitech_receiver/descriptors.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/logitech_receiver/descriptors.py b/lib/logitech_receiver/descriptors.py index 75b80ee4..12f327ce 100644 --- a/lib/logitech_receiver/descriptors.py +++ b/lib/logitech_receiver/descriptors.py @@ -144,6 +144,11 @@ _PERFORMANCE_MX_DPIS = _NamedInts.range(0x81, 0x8F, lambda x: str((x - 0x80) * 1 _D('Wireless Keyboard K230', protocol=2.0, wpid='400D') _D('Wireless Keyboard K270(unifying)', protocol=2.0, wpid='4003') +_D('Wireless Keyboard MK270', protocol=2.0, wpid='4023', + settings=[ + _FS.fn_swap() + ], + ) _D('Wireless Keyboard K270', protocol=1.0, registers=(_R.battery_status, ), ) @@ -225,6 +230,7 @@ _D('Wireless Mouse M185 old', codename='M185o', protocol=4.5, wpid='4055', _FS.lowres_smooth_scroll(), _FS.pointer_speed(), ]) +_D('Wireless Mouse M185', protocol=2.0, wpid='4038') _D('Wireless Mouse M187', protocol=2.0, wpid='4019') _D('Wireless Mouse M215', protocol=1.0, wpid='1020') _D('Wireless Mouse M235')