From 1cf7b8f7ee224d823d94ea65458f5269a1a77d2e Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Sat, 28 Jun 2008 17:50:26 +0930 Subject: 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. --- src/evdev.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/evdev.h') 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; -- cgit v1.2.3