From 78711b24fb1d6487a569bd2b91af39c48a999f22 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 25 Nov 2018 20:06:40 +0000 Subject: [PATCH] input: add wheel mice Yes there really are wheel capable adapters for 8bit micros --- Kernel/include/input.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Kernel/include/input.h b/Kernel/include/input.h index b44fc2d0..34115253 100644 --- a/Kernel/include/input.h +++ b/Kernel/include/input.h @@ -25,6 +25,8 @@ #define LIGHTPEN_ABS 0x50 /* Light pen or similar, 16 x 16bit virtual coords */ +#define MOUSE_REL_WHEEL 0x60 /* As MOUSE_REL but with a wheel byte */ + #define BUTTON(x) (1 << (x)) /* Button 1-7 (top bit never used) */ #define BUTTONS(x) ((x)&0x07) /* 0-7 buttons */ -- 2.34.1