input: add wheel mice
authorAlan Cox <alan@linux.intel.com>
Sun, 25 Nov 2018 20:06:40 +0000 (20:06 +0000)
committerAlan Cox <alan@linux.intel.com>
Sun, 25 Nov 2018 20:06:40 +0000 (20:06 +0000)
Yes there really are wheel capable adapters for 8bit micros

Kernel/include/input.h

index b44fc2d..3411525 100644 (file)
@@ -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 */