linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] HID: logitech-hidpp: Add support for Logitech MX Anywhere 3 mouse
@ 2023-08-09 11:38 Maxim Mikityanskiy
  2023-08-10 12:17 ` Bastien Nocera
  2023-08-14  9:47 ` Jiri Kosina
  0 siblings, 2 replies; 3+ messages in thread
From: Maxim Mikityanskiy @ 2023-08-09 11:38 UTC (permalink / raw)
  To: Filipe Laíns, Bastien Nocera, Jiri Kosina,
	Benjamin Tissoires
  Cc: linux-input, linux-kernel, Maxim Mikityanskiy

Add Logitech MX Anywhere 3 connected over Bluetooth to the device table
to get hidpi scroll supported. USB connection over the Unifying receiver
is already supported by the wildcard entry LDJ_DEVICE(HID_ANY_ID).

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
---
 drivers/hid/hid-logitech-hidpp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c
index 129b01be488d..61d68c96581a 100644
--- a/drivers/hid/hid-logitech-hidpp.c
+++ b/drivers/hid/hid-logitech-hidpp.c
@@ -4647,6 +4647,8 @@ static const struct hid_device_id hidpp_devices[] = {
 	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb02a) },
 	{ /* MX Master 3 mouse over Bluetooth */
 	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb023) },
+	{ /* MX Anywhere 3 mouse over Bluetooth */
+	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb025) },
 	{ /* MX Master 3S mouse over Bluetooth */
 	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb034) },
 	{}
-- 
2.41.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] HID: logitech-hidpp: Add support for Logitech MX Anywhere 3 mouse
  2023-08-09 11:38 [PATCH] HID: logitech-hidpp: Add support for Logitech MX Anywhere 3 mouse Maxim Mikityanskiy
@ 2023-08-10 12:17 ` Bastien Nocera
  2023-08-14  9:47 ` Jiri Kosina
  1 sibling, 0 replies; 3+ messages in thread
From: Bastien Nocera @ 2023-08-10 12:17 UTC (permalink / raw)
  To: Maxim Mikityanskiy, Filipe Laíns, Jiri Kosina,
	Benjamin Tissoires
  Cc: linux-input, linux-kernel

On Wed, 2023-08-09 at 14:38 +0300, Maxim Mikityanskiy wrote:
> Add Logitech MX Anywhere 3 connected over Bluetooth to the device
> table
> to get hidpi scroll supported. USB connection over the Unifying
> receiver
> is already supported by the wildcard entry LDJ_DEVICE(HID_ANY_ID).
> 
> Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>

LGTM, thanks

Reviewed-by: Bastien Nocera <hadess@hadess.net>

> ---
>  drivers/hid/hid-logitech-hidpp.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-
> logitech-hidpp.c
> index 129b01be488d..61d68c96581a 100644
> --- a/drivers/hid/hid-logitech-hidpp.c
> +++ b/drivers/hid/hid-logitech-hidpp.c
> @@ -4647,6 +4647,8 @@ static const struct hid_device_id
> hidpp_devices[] = {
>           HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb02a) },
>         { /* MX Master 3 mouse over Bluetooth */
>           HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb023) },
> +       { /* MX Anywhere 3 mouse over Bluetooth */
> +         HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb025) },
>         { /* MX Master 3S mouse over Bluetooth */
>           HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb034) },
>         {}


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] HID: logitech-hidpp: Add support for Logitech MX Anywhere 3 mouse
  2023-08-09 11:38 [PATCH] HID: logitech-hidpp: Add support for Logitech MX Anywhere 3 mouse Maxim Mikityanskiy
  2023-08-10 12:17 ` Bastien Nocera
@ 2023-08-14  9:47 ` Jiri Kosina
  1 sibling, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2023-08-14  9:47 UTC (permalink / raw)
  To: Maxim Mikityanskiy
  Cc: Filipe Laíns, Bastien Nocera, Benjamin Tissoires,
	linux-input, linux-kernel

On Wed, 9 Aug 2023, Maxim Mikityanskiy wrote:

> Add Logitech MX Anywhere 3 connected over Bluetooth to the device table
> to get hidpi scroll supported. USB connection over the Unifying receiver
> is already supported by the wildcard entry LDJ_DEVICE(HID_ANY_ID).

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-14  9:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-09 11:38 [PATCH] HID: logitech-hidpp: Add support for Logitech MX Anywhere 3 mouse Maxim Mikityanskiy
2023-08-10 12:17 ` Bastien Nocera
2023-08-14  9:47 ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).