X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=protocol%2Fps2_mouse.h;h=27d9790d43f551053c76a74f371a7faa916f74e2;hb=fa545c87f74833856761572ef631d20accc1d026;hp=305a9bdbaae438c716efe7817fba793bb7124af9;hpb=d7f663a1ea4487a6dc5be76085eff7b00bec9704;p=tmk_firmware.git
diff --git a/protocol/ps2_mouse.h b/protocol/ps2_mouse.h
index 305a9bd..27d9790 100644
--- a/protocol/ps2_mouse.h
+++ b/protocol/ps2_mouse.h
@@ -39,6 +39,27 @@ along with this program. If not, see .
#define PS2_MOUSE_X_OVFLW 6
#define PS2_MOUSE_Y_OVFLW 7
+
+/*
+ * Scroll by mouse move with pressing button
+ */
+/* mouse button to start scrolling; set 0 to disable scroll */
+#ifndef PS2_MOUSE_SCROLL_BTN_MASK
+#define PS2_MOUSE_SCROLL_BTN_MASK (1<