aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sermouse.h2
1 files changed, 1 insertions, 1 deletions
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
};