From a2cc5cb33512f946eca1f6ee9bfcbe00576bbeb3 Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Wed, 9 Aug 2023 18:40:06 +0300 Subject: [PATCH] daemon: Use scroll wheel from HW packet on Harpoon WL --- src/daemon/usb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/usb.h b/src/daemon/usb.h index b5747480..70e74cc1 100644 --- a/src/daemon/usb.h +++ b/src/daemon/usb.h @@ -301,7 +301,7 @@ const char* product_str(ushort product); #define USES_BRAGI_JUMBO(vendor, product) ((vendor) == (V_CORSAIR) && ((product) == P_K100_OPTICAL || (product) == P_K100_MECHANICAL || (product) == P_K100_OPTICAL_VARIANT || (product) == P_K65_MINI || (product) == P_K70_TKL)) // Used for devices that have the scroll wheel packet in the hardware hid packet only -#define SW_PKT_HAS_NO_WHEEL(kb) ((kb)->vendor == V_CORSAIR && ((kb)->product == P_M55_RGB_PRO || (kb)->product == P_KATAR_PRO_XT || (kb)->product == P_KATAR_PRO)) +#define SW_PKT_HAS_NO_WHEEL(kb) ((kb)->vendor == V_CORSAIR && ((kb)->product == P_M55_RGB_PRO || (kb)->product == P_KATAR_PRO_XT || (kb)->product == P_KATAR_PRO || (kb)->product == P_HARPOON_WL_U)) /// Start the USB main loop. Returns program exit code when finished