public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd308bb
)
input: add wheel mice
author
Alan Cox
<alan@linux.intel.com>
Sun, 25 Nov 2018 20:06:40 +0000
(20:06 +0000)
committer
Alan 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
patch
|
blob
|
history
diff --git
a/Kernel/include/input.h
b/Kernel/include/input.h
index
b44fc2d
..
3411525
100644
(file)
--- 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 */