Commit Graph

  • 67ae294551 Disable stream mode before trying to identify/initialize the touchpad. Otherwise the touchpad can report motion data in the middle of the initialization sequence, which will confuse the driver and make the initialization fail. Peter Osterlund 2003-07-31 02:16:20 +02:00
  • 1d47626058 Removed a few forgotten hardcoded values. Peter Osterlund 2003-07-31 00:58:57 +02:00
  • f9f2cb51f5 When setting the mode byte, don't set bits that the touchpad doesn't understand. (Those bits are reserved and setting them can lead to weird problems, like the left button not working, as reported by Miles Lane.) Peter Osterlund 2003-07-30 20:41:42 +02:00
  • dd31479ebe Fixed spelling error in NEWS file. Peter Osterlund 2003-07-30 01:47:14 +02:00
  • 95d116296d Changed version to 0.11.3p10. Peter Osterlund 2003-07-30 01:30:42 +02:00
  • 32408625df More robust resynchronization code, after an idea from Hartwig Felger. When we realize we are out of sync, only throw away one byte, not all bytes already read from the touchpad. Peter Osterlund 2003-07-30 01:09:57 +02:00
  • 5f5730c7fc Moved finger detection to a separate function. Peter Osterlund 2003-07-29 21:03:55 +02:00
  • 8a422fa3bf Moved middle mouse button emulation to a separate function. Peter Osterlund 2003-07-29 20:53:43 +02:00
  • 6b51cab463 Use the SYN_MODEL_NEWABS() macro to decide which protocol (new or old) to use. Peter Osterlund 2003-07-29 19:15:25 +02:00
  • d7d35a4aab Fixed incorrect "lost sync" message in change eef92f7889. Peter Osterlund 2003-07-29 11:05:25 +02:00
  • 2a757b75d4 Fixed typo in change 34b03a2f9f. Peter Osterlund 2003-07-29 02:42:26 +02:00
  • 34b03a2f9f Forgot to update NEWS file in change a591e7de10. Peter Osterlund 2003-07-29 02:39:24 +02:00
  • a591e7de10 Changed version to 0.11.3p9. Peter Osterlund 2003-07-29 02:35:02 +02:00
  • eef92f7889 Added support for the old synaptics protocol. By Hartwig Felger. Peter Osterlund 2003-07-29 02:30:19 +02:00
  • fb54b61a1a Minor cleanup. Peter Osterlund 2003-07-29 02:11:22 +02:00
  • d5785a9652 Changed version to 0.11.3p8. Peter Osterlund 2003-07-20 12:46:35 +02:00
  • 80bda91ccd Fixed change b5ae101d5d so that the autodetection works also when X>=10 in eventX. (Pointed out by Hartwig Felger.) Peter Osterlund 2003-07-20 12:42:22 +02:00
  • 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. Peter Osterlund 2003-07-20 12:23:16 +02:00
  • ff759b3dbb Changed version to 0.11.3p7. Peter Osterlund 2003-07-17 03:16:51 +02:00
  • c534fb9a44 Updated documentation for new "auto-dev" option. Peter Osterlund 2003-07-17 03:16:01 +02:00
  • 2971238f36 Implemented protocol "auto-dev" that automatically tries to find the proper device node and protocol for the touchpad. This makes it possible to have the same XF86Config file for 2.4 and 2.5 kernels. From Hartwig Felger with some fixes by me. Peter Osterlund 2003-07-17 03:08:19 +02:00
  • 05e4da98ca White space fixes in ps2comm.[ch]. Peter Osterlund 2003-07-17 01:01:47 +02:00
  • b88eeb58ee Removed obsolete comment about SHMConfig option. Peter Osterlund 2003-07-16 23:03:18 +02:00
  • d453ae378b Added proper support for "multi buttons". The old code referred to this as six_button mode, but this mode was activated based on firmware version, which was not correct. From Hartwig Felger. Peter Osterlund 2003-07-16 22:56:01 +02:00
  • d37453a336 Updated COMPATIBILITY file. Peter Osterlund 2003-07-16 22:34:33 +02:00
  • 84a6f59510 Mention the synclient program in the INSTALL file. Peter Osterlund 2003-07-16 14:58:20 +02:00
  • 607ef2ce4d Added #define's for the constants used by the linux event interface. Peter Osterlund 2003-07-15 12:21:09 +02:00
  • 2c8d34d0cc Use BTN_0 ... BTN_3 for reporting multi button events. From Hartwig Felger. Peter Osterlund 2003-07-15 11:42:36 +02:00
  • 7e22ec4add Changed version number. Peter Osterlund 2003-07-13 22:43:21 +02:00
  • d9c4ba6cfc Fixed spelling errors. Peter Osterlund 2003-07-13 22:39:48 +02:00
  • 3132dd9c40 Implemented "make install". Peter Osterlund 2003-07-13 22:38:37 +02:00
  • 610374e9ff Reset the touchpad to relative mode when the X server terminates. Peter Osterlund 2003-07-13 22:30:49 +02:00
  • 689f402467 Removed trailing whitespace. Peter Osterlund 2003-07-13 21:18:44 +02:00
  • 4864a703b0 Improved driver initialisation and finalization. From Hartwig Felger. Peter Osterlund 2003-07-13 20:56:12 +02:00
  • ffc6e06ee1 Made horizontal wheel replacement buttons work. (From Hartwig Felger.) For 2.5.x, a kernel patch is also needed. Peter Osterlund 2003-07-13 20:42:19 +02:00
  • 183d5e9a37 Added log level to some messages. (From Hartwig Felger.) Peter Osterlund 2003-07-13 20:12:13 +02:00
  • 6984f1f402 Longer timeout in the reset sequence. Experience from the 2.5 kernel driver has shown that 4 seconds is needed for some touchpads. Peter Osterlund 2003-07-13 00:19:10 +02:00
  • c3a894be67 Added include path needed in gentoo linux. Reported by Christian Storm <Christian.Storm@Fortytwo.Uni-Oldenburg.de>. Peter Osterlund 2003-07-08 20:38:52 +02:00
  • 99846a3bee Fixed race condition caused by asynchronous IO (SIGIO). This change hopefully fixes the X server hangs. Peter Osterlund 2003-07-08 00:38:28 +02:00
  • cde4d060e0 Use packet counting instead of time to decide when to start generating pointer movement events. This fixes the bug that incorrectly moved the cursor to the upper right corner when quickly putting the finger on the touchpad. Peter Osterlund 2003-07-04 20:50:19 +02:00
  • 85b9edee33 Fixed spelling error. Peter Osterlund 2003-07-03 23:49:01 +02:00
  • 816506d8ad Workaround for X server bug in the TimerSet() function. Peter Osterlund 2003-07-03 22:49:59 +02:00
  • f6498a659f Changed default values to match change 799ea3f9cc. Peter Osterlund 2003-07-02 16:15:44 +02:00
  • 04e1fa81cf Fixed documentation error. Peter Osterlund 2003-06-19 16:36:41 +02:00
  • aba50d5ca9 Changed version number. Peter Osterlund 2003-06-19 01:20:10 +02:00
  • 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. Peter Osterlund 2003-06-19 01:19:38 +02:00
  • dfb3d4236e When parsing kernel event data, make sure we see a SYN_REPORT event and not some other SYN_ event. Peter Osterlund 2003-06-15 19:51:32 +02:00
  • 2b7b056753 Changed suggested MaxTapTime value from 20 to 15, to avoid gnome scrollbars to start auto repeat when tapping is used. Peter Osterlund 2003-06-15 12:39:30 +02:00
  • 6838991b9d Added "Protocol" option to activate the kernel input event interface. Peter Osterlund 2003-06-15 12:30:15 +02:00
  • 3a97613b2a Added support for kernel input event interface. Not activated yet though. Peter Osterlund 2003-06-15 11:36:28 +02:00
  • 9392fa28f1 Moved capability bit handling to the SynapticsGetHwState() function, so that it can be bypassed in kernel input event mode. Peter Osterlund 2003-06-15 10:11:56 +02:00
  • 78cfc7ab6e Fixed initialization failure path so that it doesn't crash the X server. Peter Osterlund 2003-06-15 09:14:23 +02:00
  • 151cf49264 Abstracted out the code to determine the hardware state from the ReadInput() function. This will make it possible to support the event based absolute packet format generated by the 2.5 kernel. Peter Osterlund 2003-06-15 01:28:31 +02:00
  • 5fd0211e2d Fixed spelling error. Peter Osterlund 2003-06-09 01:35:13 +02:00
  • 269f5da531 Update from the p4 computer. Peter Osterlund 2003-05-15 23:41:38 +02:00
  • 6a3a735f4a Fixed spelling errors. Peter Osterlund 2003-05-04 15:58:58 +02:00
  • e4996f5648 Removed unnecessary include file. Peter Osterlund 2003-05-03 15:14:19 +02:00
  • df584e849c Merged some #ifdef stuff from 0.11.3. (Not sure what it is good for, but it doesn't hurt anything.) Peter Osterlund 2003-05-03 15:06:04 +02:00
  • 7d6b34aaf5 Updated the FEATURES file regarding online configuration using shared memory. Peter Osterlund 2003-05-03 14:41:31 +02:00
  • c2a2cd3692 Made the params[] array in synclient.c static. Peter Osterlund 2003-05-03 10:22:15 +02:00
  • 280b22f3f8 Removed an implemented feature from the TODO file. Peter Osterlund 2003-05-02 19:17:22 +02:00
  • 436ecd0605 Fixed incorrect usage text in synclient. Peter Osterlund 2003-05-02 19:09:14 +02:00
  • 7ac888545b Updated the synclient program to make it possible to read and write the variables in the shared memory area. Peter Osterlund 2003-05-02 18:58:46 +02:00
  • 0f55d35376 Documented parameter HorizScrollDelta. Peter Osterlund 2003-05-02 17:46:58 +02:00
  • 2b3800f857 Fill in the probed hardware properties in the shared memory area. Peter Osterlund 2003-05-02 16:55:59 +02:00
  • f6dd0f8691 Removed some already implemented features from the TODO file. Peter Osterlund 2003-05-02 13:38:29 +02:00
  • cd19219486 Fix use of uninitialized memory in synclient.c. Peter Osterlund 2003-05-02 13:16:55 +02:00
  • 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. Peter Osterlund 2003-05-02 13:07:46 +02:00
  • 87f83e25a1 Forgot comment in change 3db42d5b33. Peter Osterlund 2003-05-02 12:56:27 +02:00
  • 309e30a8f8 Fixed brace placement at beginning of functions. Peter Osterlund 2003-05-02 12:29:12 +02:00
  • 3db42d5b33 Merged 6 button support from 0.11.3, but only activate it for firmware version 5.8 and later. (Everything from 0.11.3 is now merged.) Peter Osterlund 2003-05-02 12:20:47 +02:00
  • 6c239a6988 Made the done variable in change b41f7dda28 a Bool. Peter Osterlund 2003-05-02 11:52:07 +02:00
  • b41f7dda28 Better state machine for handling middle mouse button emulation. * Clicks shorter than EmulateMidButtonTime are no longer lost. * The middle button event is generated as soon as both the left and the right buttons are pressed. The old code waited until the timeout had passed before even checking if both buttons were pressed. Peter Osterlund 2003-05-02 03:12:39 +02:00
  • efe5015664 Fixed removal of old shared memory segment before trying to create the new segment. This made X server startup fail if the memory segment size had been changed. (The first argument to xf86shmget is an shmid, not a key.) Peter Osterlund 2003-05-02 01:53:37 +02:00
  • 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. Peter Osterlund 2003-05-02 01:12:03 +02:00
  • 5b1ecfe525 Made the timeout for middle button emulation configurable. Peter Osterlund 2003-05-02 00:32:15 +02:00
  • 10c55ff9de Make double click processing from change 4cc36ca331 more reliable. In the old code, a very short click could generate a single click instead of a double click. Peter Osterlund 2003-05-01 19:19:06 +02:00
  • 4cc36ca331 Merged handling of UpDownScrolling option from 0.11.3. Peter Osterlund 2003-05-01 18:01:51 +02:00
  • 1565900086 More merges from 0.11.3. Peter Osterlund 2003-05-01 17:28:30 +02:00
  • a449e18784 Changed a local variable name to match 0.11.3. Peter Osterlund 2003-05-01 16:53:07 +02:00
  • 3686d0fa73 Merged some stuff from version 0.11.3. Peter Osterlund 2003-05-01 16:41:42 +02:00
  • 1f4f3db66d Lots of whitespace changes to reduce the diff compared to official version 0.11.3. Peter Osterlund 2003-01-02 00:35:15 +01:00
  • 5ec7c7c229 Implemented horizontal scrolling (button 6 & 7 events) when moving the finger along the bottom edge of the touch pad. Peter Osterlund 2002-07-07 00:02:32 +02:00
  • 8e13d42561 Improved edge motion to avoid the short burst of high speed when the finger reaches an edge. Peter Osterlund 2002-07-06 23:02:34 +02:00
  • 0b78e3b313 Implemented edge motion. Peter Osterlund 2002-07-06 02:57:59 +02:00
  • e9febd174f Added heuristics for palm detection. There are some hardcoded values that should probably be converted to parameters. Peter Osterlund 2002-07-06 01:46:05 +02:00
  • ae9d614d34 Don't disable the button 4 & 5 repeat timer when scrolling with the touchpad is activated. Peter Osterlund 2002-07-05 00:49:15 +02:00
  • 8b77d9f3f6 Implemented fast scrolling, ie generate extra button 4 & 5 up/down events when scrolling if necessary. Peter Osterlund 2002-07-05 00:24:55 +02:00
  • c964df3191 When doing tap, drag and double tap processing, the buttons not involved in the tapping was considered released, even if the corresponding physical button was pressed. This generated a bogus button release event when the tap processing started and a bogus button press event when the tap processing ended. Peter Osterlund 2002-07-04 21:10:55 +02:00
  • e2eddc53ce Fixed compiler warning in synclient.c. Peter Osterlund 2002-07-04 02:03:40 +02:00
  • 7e8769c8b8 Fixed bug causing the up/down buttons to be incorrectly reported on pads with "capFourButtons" capability when the left or right button was simultaneously pressed. See page 43 in the Synaptics TouchPad Interfacing Guide. Peter Osterlund 2002-07-04 01:07:21 +02:00
  • 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. Peter Osterlund 2002-07-04 01:00:27 +02:00
  • a37bd61dc4 Fixed a spelling error. Peter Osterlund 2002-07-04 00:52:20 +02:00
  • c825e72a01 Changed version to 0.10p1. Peter Osterlund 2002-07-04 00:51:14 +02:00
  • 8098d88080 Added comments to let emacs know about the non-standard tab width. Peter Osterlund 2002-07-04 00:49:41 +02:00
  • 6a78abbeef Modifications to make builds on rh73 work. Note that an X source tree is required in /usr/src/redhat/BUILD/XFree86-4.2.0/xc. Peter Osterlund 2002-07-04 00:45:56 +02:00
  • 0d8042d8b6 Added source code for the synaptics touchpad XFree86 driver. Peter Osterlund 2002-07-04 00:40:37 +02:00