6 Commits

Author SHA1 Message Date
Peter Osterlund
d793d20748 Fixed detection of ALPS touchpads when using a 2.6 linux
kernel. Reported by stage.nexvision <stage.nexvision@laposte.net>.
2006-04-09 04:02:18 +02:00
Peter Osterlund
8307eaaced Added support for middle mouse buttons. (Some ALPS touchpads
have them.)
2006-04-09 04:01:49 +02:00
Peter Osterlund
8c8177561c When using the Linux 2.6 event device, try to get exclusive
access to the device, so that touchpad data doesn't leak to
/dev/input/mice.
2006-04-09 04:01:13 +02:00
Peter Osterlund
a37a1239a7 Added support for the new 2.6 kernel events ABS_TOOL_WIDTH,
BTN_TOOL_FINGER, BTN_TOOL_DOUBLETAP and BTN_TOOL_TRIPLETAP. Note that
this swaps the direction of the Y axis internally to match X and the
linux input subsystem. Because of this, the TopEdge and BottomEdge
parameters must be modified in the config file. There is some backwards
compatibility code for old 2.5/2.6 kernels that will probably be
deleted later.
2006-04-09 04:01:12 +02:00
Peter Osterlund
fe3d1e6d2b Use the EVIOCGID ioctl for synaptics event device auto
detection. This is much simpler than parsing /proc/bus/input/devices
and more robust too.
2006-04-09 04:01:12 +02:00
Peter Osterlund
607ef2ce4d Added #define's for the constants used by the linux event
interface.
2006-04-09 04:01:02 +02:00