diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-06-28 17:50:26 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-06-28 17:53:24 +0930 |
commit | 1cf7b8f7ee224d823d94ea65458f5269a1a77d2e (patch) | |
tree | e995050e9644a571bb88e25562480dfb0d2fd9e2 /src/evdev.h | |
parent | Bump to 2.0.99. (diff) | |
download | xf86-input-evdev-1cf7b8f7ee224d823d94ea65458f5269a1a77d2e.tar.gz xf86-input-evdev-1cf7b8f7ee224d823d94ea65458f5269a1a77d2e.tar.bz2 xf86-input-evdev-1cf7b8f7ee224d823d94ea65458f5269a1a77d2e.zip |
Count buttons at probe and print to log.
We don't really do anything with the number other than print it since I'm sure
that half the mice don't report the correct number anyway (especially with the
wheel button mapping). But having a bit more debug info is good.
Diffstat (limited to 'src/evdev.h')
-rw-r--r-- | src/evdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evdev.h b/src/evdev.h index cad1eed..c6a6e99 100644 --- a/src/evdev.h +++ b/src/evdev.h @@ -47,6 +47,7 @@ typedef struct { int abs_x, abs_y, old_x, old_y; int flags; int tool; + int buttons; /* number of buttons */ /* XKB stuff has to be per-device rather than per-driver */ int noXkb; |