From c6abcb6d893f6ef843ed98be3d45bd804cfe295a Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 20 Nov 2013 15:28:58 +0900 Subject: Add build options of ps2_mouse --- protocol/ps2_mouse.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'protocol/ps2_mouse.h') diff --git a/protocol/ps2_mouse.h b/protocol/ps2_mouse.h index 305a9bdbaa..27d9790d43 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<