15 Commits

Author SHA1 Message Date
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
0f0cee77f6 Made it possible to disable the touchpad at runtime. (Patch
from "Jörg Bösner" <ich@joerg-boesner.de>.)
2006-04-09 04:01:10 +02:00
Peter Osterlund
5ab0290008 Changed tab size from 4 to the standard value 8. Reindented
code so that it still looks sane.
2006-04-09 04:01:08 +02:00
Peter Osterlund
b5ae101d5d Update from Hartwig Felger.
* Added "multi-buttons" to the FEATURES list.
* Updated NEWS file with data from the web page.
* More robust parsing of the Handlers= line when doing auto detection
  for 2.6 kernels. ("Handlers=event2 js0" should now work.)
* Updated synclient program to explain that it can't query hardware
  details when using a 2.6 kernel.
2006-04-09 04:01:04 +02:00
Peter Osterlund
799ea3f9cc Rewrote timer handling so that the driver no longer depends
on packets arriving 1s after the last state change. (The kernel driver
only reports to user space when something changes.) Use wall clock time
instead of packet counting for time computations. This change also
means that configurable times are now specified in milliseconds instead
of units of 1/80s.
2006-04-09 04:00:58 +02:00
Peter Osterlund
c2a2cd3692 Made the params[] array in synclient.c static. 2006-04-09 04:00:56 +02:00
Peter Osterlund
436ecd0605 Fixed incorrect usage text in synclient. 2006-04-09 04:00:55 +02:00
Peter Osterlund
7ac888545b Updated the synclient program to make it possible to read
and write the variables in the shared memory area.
2006-04-09 04:00:55 +02:00
Peter Osterlund
cd19219486 Fix use of uninitialized memory in synclient.c. 2006-04-09 04:00:54 +02:00
Peter Osterlund
92b799709a Remove shared memory segment when the X server terminates.
Made synclient behave better when the memory segment is not accessible
or has the wrong size.
2006-04-09 04:00:54 +02:00
Peter Osterlund
826b2136b2 Build improvements.
* Build synclient by default.
* Made it possible to build synclient even if an X source tree is not
  available.
* Added Makefile dependencies so that things get recompiled when a
  header file is changed.
* synclient.c now includes synaptics.h instead of duplicating the
  shared memory segment definitions.
2006-04-09 04:00:53 +02:00
Peter Osterlund
e2eddc53ce Fixed compiler warning in synclient.c. 2006-04-09 04:00:50 +02:00
Peter Osterlund
5a5fd8052a * Added z, w, left, right, up and down information to the shared memory
area. Updated synclient to report the new information.
* Improved synclient to only report when something changes.
2006-04-09 04:00:50 +02:00
Peter Osterlund
8098d88080 Added comments to let emacs know about the non-standard tab
width.
2006-04-09 04:00:49 +02:00
Peter Osterlund
0d8042d8b6 Added source code for the synaptics touchpad XFree86
driver.
2006-04-09 04:00:49 +02:00