X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=protocol%2Fps2_mouse.h;h=27d9790d43f551053c76a74f371a7faa916f74e2;hb=6a97efcea94b2d1882ba2d58c4c016a45507fb3d;hp=305a9bdbaae438c716efe7817fba793bb7124af9;hpb=d7f663a1ea4487a6dc5be76085eff7b00bec9704;p=max%2Ftmk_keyboard.git diff --git a/protocol/ps2_mouse.h b/protocol/ps2_mouse.h index 305a9bdb..27d9790d 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<