Skip to content

add support for high res wheel found on some Logitech devices

Mauro Carvalho Chehab linux-input 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 6 repliesIn review
  2. v34 patches 6 repliesSuperseded
  3. v12 of 4 patches 0 repliesSuperseded

Changes in v4 from the cover letter

- rebased on the top of HID tree, branch 'for-next'
- added a patch reserving some REL_MISC_n events
- fixed CMD_MOUSE_SET_WHEEL_MODE params logic;
- don't send 16 bytes on FAP command sync - send just what's needed;
- HIDPP_QUIRK_CONNECT_EVENTS is now applied by default.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5input: event-codes: reserve some space for REL_MISC eventsinclude/linux/mod_devicetable.h include/uapi/linux/input-event-codes.h+8 -22 replies
2/5input: add an EV_REL event for high-res vertical wheelDocumentation/input/event-codes.txt include/uapi/linux/input-event-codes.h+15 -30 replies
3/5input: add a EV_SW event for ratchet switchDocumentation/input/event-codes.txt include/linux/mod_devicetable.h include/uapi/linux/input-event-codes.h+16 -23 replies
4/5hid-logitech-hidpp: add support for high res wheeldrivers/hid/hid-logitech-hidpp.c+197 -00 replies
5/5hid-logitech-hidpp: add support for ratchet switchdrivers/hid/hid-logitech-hidpp.c+21 -21 reply

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchBenjamin Tissoires
1/5
2/5
3/5A-b
4/5
5/5Reviewed-and-tested-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/5] add support for high res wheel found on some Logitech devices

Some Logitech mouses (MX Anyware 2, MX Master) have a wheel with two resolutions. It initializes in low resolution mode, but can be changed to high resolution. It also supports free wheel mode, where there's no tactile feedback at the wheel, nor it offers resistence to movements. Such mode is enabled/disabled by clicking at the wheel (on this wheel, the middle button is a separate button).

Add support for it.

Tested on with MX Anywhere 2 device.

PS.:
Patches 2 and 3 will have trivial conflicts with -next version of the input tree, due to the documentation patches that got merged there.

v4:
- rebased on the top of HID tree, branch 'for-next'
- added a patch reserving some REL_MISC_n events
- fixed CMD_MOUSE_SET_WHEEL_MODE params logic;
- don't send 16 bytes on FAP command sync - send just what's needed;
- HIDPP_QUIRK_CONNECT_EVENTS is now applied by default.

v3: addressed Peter's comments for EV_SW SW_RATCHET documentation

Mauro Carvalho Chehab (5):
input: event-codes: reserve some space for REL_MISC events
input: add an EV_REL event for high-res vertical wheel
input: add a EV_SW event for ratchet switch
hid-logitech-hidpp: add support for high res wheel
hid-logitech-hidpp: add support for ratchet switch

 Documentation/input/event-codes.txt    |  29 ++++-
 drivers/hid/hid-logitech-hidpp.c       | 216 +++++++++++++++++++++++++++++++++
 include/linux/mod_devicetable.h        |   4 +-
 include/uapi/linux/input-event-codes.h |  13 +-
 4 files changed, 255 insertions(+), 7 deletions(-)
Signature · 1 line
2.9.3