From 78d1124c3e7b992470017ab8a5b5af009745fe4f Mon Sep 17 00:00:00 2001 From: lat9nq <22451773+lat9nq@users.noreply.github.com> Date: Sat, 10 Feb 2024 17:06:13 +0100 Subject: [PATCH] data: add Logitech G705 Mouse Based on https://github.com/Nadeflore work. Thank you! --- data/devices/logitech-g705.device | 8 ++++++++ src/hidpp20.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 data/devices/logitech-g705.device diff --git a/data/devices/logitech-g705.device b/data/devices/logitech-g705.device new file mode 100644 index 00000000..0a5a9196 --- /dev/null +++ b/data/devices/logitech-g705.device @@ -0,0 +1,8 @@ +[Device] +Name=Logitech G705 +DeviceMatch=usb:046d:c096;usb:046d:409d;bluetooth:046d:b02e +Driver=hidpp20 +DeviceType=mouse + +[Driver/hidpp20] +Quirk=G502X_PLUS diff --git a/src/hidpp20.c b/src/hidpp20.c index 221234be..4bfe1ff9 100644 --- a/src/hidpp20.c +++ b/src/hidpp20.c @@ -2969,9 +2969,9 @@ hidpp20_onboard_profiles_write_profile(struct hidpp20_device *device, if (device->quirk == HIDPP20_QUIRK_G502X_PLUS) { // Note(sewer56): There are two known mice which use this field; - // G502X PLUS and G705. [And I only own one of these.] But it's not known how + // G502X PLUS and G705. [And I only own one of these.] But it's not known how // prevalent this is elsewhere, so in the interest of defensive programming; - // we're not setting this on unknown mice. + // we're not setting this on unknown mice. pdata->profile.custom_animation_index = 0x00; }