summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2011-05-15build: collapse all Makefile.am files into a single non-recursive one.Diego Elio Pettenò
With this change, the whole of the build is done non-recursively in the top-level Makefile.am. This reduces the amount of overhead due to recursing into directories only to build one file. Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com> Signed-off-by: Christoph Brill <egore911@egore911.de>
2011-03-18Revert "Add synaptics orientation support"Peter Hutterer
This patch needs more work before we can ship it. This reverts commit 049d5fb6037b34d94b24cb8300849cf4e3b67437. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-03-09Add synaptics orientation supportAapo Rantalainen
This patch allows usage of "synclient Orientation=0" (values from 0 to 3). It will rotate the touchpad similar to "xrandr -o". Original patch was extended for alps and ps2. Signed-off-by: Christoph Brill <egore911@egore911.de>
2011-02-21Add hysteresis-based noise reductionSimon Thum
This introduces hysteresis into the driver's processing. It significantly reduces noise motion, i.e. now the pad does no longer generate a stream of sub-pixel events when just holding the position with the finger down. Also, taking off the finger no longer generates additional motion, scrolling becomes flicker-free etc. The code makes use of "fuzz" from the kernel, if available. This has not been tested extensively, as an overwhelming majority of evdev touchpad drivers view 0 (zero) as a good value for fuzz, forcing userland into assuming "zero fuzz" means "make zero assumptions about fuzz", not "there is no fuzz". Until things improve, this is what we do. Anyway, the fuzz a.k.a. hysteresis can be set/overridden with options and properties, as documented. Signed-off-by: Simon Thum <simon.thum@gmx.de> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-08-20Added "friction physics" so coasting can stop on its own.Patrick Curran
When you are coasting (but not corner coasting) you might want the scrolling to slow down and stop on its own. This also lets you start coasting while using a two finger scroll. Signed-off-by: Patrick Curran <pjcurran@wisc.edu> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Tested-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-06-17Purge GuestMouse support.Peter Hutterer
Guest mouse dates back to quite a while ago, hasn't been tested for ages and the current synaptics interface guide claims the bit that we used to check if guestmouse is available is "reserved for future use. The host should ignore the values of reserved bits when reading the capability bits." Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-06-16Move some defines to where they belong.Peter Hutterer
These defines aren't used by anything but the ps2comm interface. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
2010-04-05config: include files redundant in EXTRA_DISTGaetan Nadon
The HEADERS Automake primary variable always gets it's files distributed and installed. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-07-17Add active area outside of which movements, scrolling, tapping are ignored.Alberto Milone
On some touchpads physical buttons are located under the touchpad surface. As a result, when users try to perform a click, by pressing that part of the surface of the touchpad, they get a click, a movement, a tap and (in some cases) a scroll, which can make clicks quite inaccurate. The "Synaptics Area" property can be used to define the edges of the active area of the touchpad so that all movement, scrolling and tapping which take place outside of this area will be ignored. This property is disabled by default. Fixes xorg bug #21613. Signed-off-by: Alberto Milone <alberto.milone@canonical.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-16Add configurable x/y resolution to fix sensitivity on wide touchpads.Tero Saarni
Synaptics uses anisotropic coordinate system. On some wide touchpads vertical resolution can be twice as high as horizontal which causes unequal sensitivity on x/y directions. VertResolution and HorizResolution can be used to set the resolution. The ratio of the values is used to compensate x/y sensitivity. The properties are configured automatically if touchpad reports resolution and if running on linux 2.6.31 or newer. Fixes xorg bug #18351. Signed-off-by: Tero Saarni <tero.saarni@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-28Add "Synaptics Capabilities" read-only property.Peter Hutterer
This patch adds a "Synaptics Capabilities" property that advertises the capabilities of the device in a read-only boolean property. The first three values signal the presence of physical mouse buttons (left, middle, right). Values 4 and 5 signal the touchpad's ability to do multi-finger tracking. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2009-05-13Add TapAndDragGesture option and gestures property.Erkin Bahceci
The tap-and-drag gesture is an alternative way of dragging. It is performed by tapping (touching and releasing the finger), then touching again and moving the finger on the touchpad. This gesture is enabled by default and can be disabled by setting the TapAndDragGesture option to false. The gesture already existed in synaptics and was always enabled. This commit adds an option to switch it on/off. The default behavior is tap-and-drag being enabled, that is, TapAndDragGesture is true. The "Synaptics Gestures" property is intended to hold all new gesture enabling options, like options for the upcoming multitouch gestures. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-08Purge SynapticsHWInfo stuff, move it into proto_data.Peter Hutterer
This was only used in PS/2, on linux only on kernel 2.4 and it clobbered up the rest. Move it to the ps2comm parts only, keep it private there. This includes adding a "proto_data" field to the SynapticsPrivate. This patch removes the -h option for synclient. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Christoph Brill <egore911@egore911.de>
2009-04-26Remove Synaptics SHM configuration bits.Peter Hutterer
The only thing we still export through SHM is the hardware state.
2009-02-20two-finger emulation through fingerWidthMarcel Dejean
Signed-off-by: Christoph Brill <egore911@egore911.de> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-01-27properties: implement float properties.Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Christoph Brill <egore911@egore911.de> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2008-10-13Install header files in xserver's sdk dir.Peter Hutterer
Missing from 851097c45f02f2a033975cd3b2ed9490a4aa87bd. Don't install header files in <prefix>/include, install them in <prefix>/include/xorg instead.
2008-10-03Install synaptics-properties.h in xorg include path, install xorg-synaptics.pc.Peter Hutterer
2008-09-03Add autodetection of right scroll wheel region with very large X coordinateFedor P. Goncharov
2008-08-18Add support for device properties.Peter Hutterer
Exposes the SHMConfig parameters through device properties and allows run-time changes to those properties. Not exposed yet are floating point values: min_speed, max_speed, accl, trackstick_speed (SYNAPTICS_PROP_SPEED) scroll_dist_circ (SYNAPTICS_PROP_CIRCULAR_SCROLLING_DIST) coasting_speed (SYNAPTICS_PROP_COASTING_SPEED) press_motion_min_factor, press_motion_max_factor (SYNAPTICS_PROP_PRESSURE_MOTION_FACTOR)
2008-08-14Fix "make distcheck"Christoph Brill
The new directory "include" was not packaged into the tarball. This makes "make distcheck" work again.
2008-08-08Move synaptics.h into include/, create synapticsstr.h for private structs.Peter Hutterer
This just separates driver-internal stuff (synapticsstr.h) from external stuff used for the SHM config.