From 76e327d2fa2f7d0edea578f9360d37a56bd588bd Mon Sep 17 00:00:00 2001 From: CzBiX Date: Fri, 8 May 2015 13:27:29 +0800 Subject: [PATCH] update docs for M325 --- docs/devices.md | 6 ++++-- docs/devices/m325.txt | 29 ++++++++++++++++++++++++++++ lib/logitech_receiver/descriptors.py | 5 ++++- 3 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 docs/devices/m325.txt diff --git a/docs/devices.md b/docs/devices.md index 74407bc8..27e8cec4 100644 --- a/docs/devices.md +++ b/docs/devices.md @@ -25,7 +25,8 @@ Linux system configuration) are supported: * The DPI can be changed on the [Performance MX Mouse][P_MX]. * Smooth scrolling (higher sensitivity on vertical scrolling with the wheel) can - be toggled on the [M705 Marathon Mouse][M705] and [M510 Wireless Mouse][M510]. + be toggled on the [M705 Marathon Mouse][M705], [M510 Wireless Mouse][M510] and + [M325][M325]. # Supported features @@ -75,7 +76,7 @@ Mice (Unifying): | Device | HID++ | Battery | DPI | Other supported features | |------------------|-------|---------|-------|---------------------------------| | M317 | | | | | -| M325 | 2.0 | yes | 1000 | | +| M325 | 2.0 | yes | 1000 | smooth scrolling | | M345 | 2.0 | yes | - | | | M350 | 1.0 | yes | | | | M505 | 1.0 | yes | | smooth scrolling | @@ -158,3 +159,4 @@ Mouse-Keyboard combos: [M705]: http://logitech.com/product/marathon-mouse-m705 [P_MX]: http://logitech.com/product/performance-mouse-mx [A_MX]: http://logitech.com/product/anywhere-mouse-mx +[M325]: http://logitech.com/product/wireless-mouse-m325 diff --git a/docs/devices/m325.txt b/docs/devices/m325.txt new file mode 100644 index 00000000..babea08e --- /dev/null +++ b/docs/devices/m325.txt @@ -0,0 +1,29 @@ +Wireless Mouse M325 +Codename : M325 +Kind : mouse +Wireless PID : 400A +Protocol : HID++ 2.0 +Polling rate : 8 ms (125Hz) +Serial number: ABB05E01 + Firmware: RQM 27.02.B0028 +The power switch is located on the base. +Supports 13 HID++ 2.0 features: + 0: ROOT {0000} + 1: FEATURE SET {0001} + 2: DEVICE FW VERSION {0003} + 3: DEVICE NAME {0005} + 4: BATTERY STATUS {1000} + 5: WIRELESS DEVICE STATUS {1D4B} + 6: unknown:1DF3 {1DF3} hidden + 7: REPROG CONTROLS {1B00} + 8: unknown:1DF0 {1DF0} hidden + 9: unknown:1F03 {1F03} hidden + 10: VERTICAL SCROLLING {2100} + 11: HI RES SCROLLING {2120} + 12: MOUSE POINTER {2200} +Has 5 reprogrammable keys: + 0: LEFT CLICK => LeftClick mse, reprogrammable + 1: RIGHT CLICK => RightClick mse, reprogrammable + 2: MIDDLE BUTTON => MiddleMouseButton mse, reprogrammable + 3: BACK AS BUTTON 4 => Back mse, reprogrammable + 4: FORWARD AS BUTTON 5 => BrowserForward mse, reprogrammable diff --git a/lib/logitech_receiver/descriptors.py b/lib/logitech_receiver/descriptors.py index a11e288f..7f85a258 100644 --- a/lib/logitech_receiver/descriptors.py +++ b/lib/logitech_receiver/descriptors.py @@ -215,7 +215,10 @@ _D('Wireless Mouse M310', protocol=1.0, wpid='1024', ) _D('Wireless Mouse M315') _D('Wireless Mouse M317') -_D('Wireless Mouse M325') +_D('Wireless Mouse M325', protocol=2.0, wpid='400A', + settings=[ + _FS.smooth_scroll(), + ]) _D('Wireless Mouse M345', protocol=2.0, wpid='4017') _D('Wireless Mouse M350', protocol=1.0, wpid='101C', registers=(_R.battery_charge, ),