From a85cb0325f841eb17434426b9b815b9e888d8992 Mon Sep 17 00:00:00 2001 From: Javier Date: Tue, 13 Oct 2026 21:57:44 +0200 Subject: sermouse: fix 3 button ms protocol --- sermouse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sermouse.h b/sermouse.h index fb2184d..eccce5b 100644 --- a/sermouse.h +++ b/sermouse.h @@ -42,7 +42,7 @@ enum SERMOUSE_PROTOCOL_MS { SERMOUSE_MS_Y_HI_SHIFT = 4, // 4th byte: - SERMOUSE_MS_BUTTON_CENTER = 1 << 5, + SERMOUSE_MS_BUTTON_CENTER = 1 << 4, SERMOUSE_MS_Z_LO_MASK = 0xF, SERMOUSE_MS_Z_LO_SHIFT = 0 }; -- cgit v1.2.3