From: Alan Cox Date: Sun, 25 Nov 2018 20:06:40 +0000 (+0000) Subject: input: add wheel mice X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=78711b24fb1d6487a569bd2b91af39c48a999f22;p=FUZIX.git input: add wheel mice Yes there really are wheel capable adapters for 8bit micros --- 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 */