commit d5ff9d8b0b186cf39695df84a10984eac559b746
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 12 13:46:34 2012 +1000
synaptics 1.6.2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c1aae820601a911432c64938f03eab62bafaab2f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri May 18 09:38:50 2012 +1000
synaptics 1.6.1.901
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7ccca8e7d8fbf2ccb5a2dbbfbf06ff4dbd6b7149
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 17 12:10:04 2012 +1000
Don't allow for scroll distances of 0 (#49965)
It'll either hang the server or blow up with divisions by 0, whichever one
comes first.
X.Org Bug 49965 <http://bugs.freedesktop.org/show_bug.cgi?id=49965>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
(cherry picked from commit 6d47d334d8a876e7e094306c313246b87016b78a)
commit f8d970e191e6df05a8f2c26afdeea3e27b941a62
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 17 11:02:02 2012 +1000
Reset hw->x/y to INT_MIN and skip HandleState until we have x/y events
The driver assumes x/y is always valid but after coming from a resume we may
get a few events with either ABS_X or ABS_Y (not both). Thus we process with
hw->x == 0 and hw->y == somevalue, causing cursor jumps when calculating
deltas whenver the real hw->x comes in.
Fix this by resetting hw->x/y to INT_MIN and skip state processing until
both axes are available.
For clickpads, this means handling of data will be delayed until we get
at least one motion on each axis. Button presses won't be recognised either
until that happens. It requires some skill to not trigger motion on both
axes, even more to press a button without doing so.
For non-clickpads, handling of motion events will be delayed likewise. If a
physical button is pressed immediately after resume we have to assume deltas
of x/y.
- If the next event is a new touch, it will have ABS_X/ABS_Y set anyway
- If the finger was already down, a button event is generated, and the
finger has generated ABS_X or ABS_Y only before the event, the next event
containing the missing data will cause a jump. The fix for this is more
invasive and this is quite a corner-case.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
(cherry picked from commit cd569377cda9b5a4ee00c0137db14f625c76c40f)
commit 739175d198372a3226ce061b118d8fe5bbc8f6bf
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Wed May 16 07:49:25 2012 -0700
Reset open slots array on device disable
The open slots array is used for clickpad cumulative delta computation.
If the array is not reset and becomes corrupted during the device
disable/enable cycle, the cumulative deltas may be wrong. This manifests
as jumpy cursor behavior on some clickpads after suspend/resume.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 0054b144f3daf00e46a35b2f165befb209df94fc)
commit 67a02d676c96d5b3d4729290cd96af0201eb76bb
Author: Chun Yang <Chuck.Yang@gmail.com>
Date: Tue May 15 14:51:42 2012 -0500
Fix coasting for negative ScrollDelta
Fix the coasting direction for when VertScrollDelta or HorizScrollDelta is
negative.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=49966
Regression introduced in 0de4445ff8e75aab208faf6383e76045934c6720
Signed-off-by: Chun Yang <Chuck.Yang@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 53557a5cab1e253dc8f4393207954ae0fe76068f)
commit 23e87b57bb874326c88a7ad7292bec51959fb876
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Mon May 14 10:20:01 2012 -0700
Ignore pre-existing touches
If a touch is physically active when the device is enabled, then all
events for that touch must be ignored. In particular, we cannot close
the touch or we will decrement touch count counters below zero. If these
counters go below zero memory corruption can occur.
Note that a device is disabled and enabled every time the user types on
the keyboard if synclient is used to disable the trackpad while typing.
This is a very common option.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 55fc42e7c9b4948cadd4f98ef7b6a3b12e268e3e)
commit 23065a974e5dcdf0d6a436a0547bb7887d306a6f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri May 11 12:27:39 2012 +1000
Avoid out-of-bounds access by running num_active_touches < 0 (#49439)
If a touch is active during driver init, the slot will be set to
SLOTSTATE_CLOSE when it finishes. That could decrease num_active_touches to
less than 0, causing out-of-bounds access.
X.Org Bug 49439 <http://bugs.freedesktop.org/show_bug.cgi?id=49439>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
(cherry picked from commit 77d766b1d535dff9a27c7db343ede85d9f44850b)
commit e0f5688994baa85a8c658120681575cdd0ba2a58
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri May 11 10:30:21 2012 +1000
synaptics 1.6.1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7f2d9d88204c62de3cb63b48001b9e2408d3a20d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri May 11 10:54:47 2012 +1000
tools: coasting speed is not capped at 20, cap it at 255
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 0352c67fa2a7224b5a3bf03a934b3c7af42b4f51)
commit ace20a02c371478f6a9d224dfd31ea219d91fc46
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed May 9 14:26:40 2012 +1000
Fix coasting speed trigger
CoastingSpeed is defined as scrolls/s. The previous code just used
delta/seconds which depended on the device coordinate range and exceeded the
default CoastingSpeed at almost any scroll event.
Divide the estimated delta by the scroll distance to get the accurate
scrolls/s number. Since that now changes the contents of what's in
coast_speed_y, change the users of that too.
http://bugzilla.redhat.com/813686
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 0de4445ff8e75aab208faf6383e76045934c6720)
commit 04d24116db59872d4cd00f38a0d1c87957fe4914
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed May 9 12:23:46 2012 +1000
Don't check for soft buttons if a button is already down
Moving into a different soft button's area during drag-n-drop would trigger
a click of that button.
We only have the current button state and we mess with it, so the conditions
for a possible clickpad soft-button event are:
- hw->left is down now
- none of left|right|middle were down before. since we change hw->left to
hw->right/left we need to check all three
If hw->left is down but one of the other buttons was already down, copy that
button state and continue.
http://bugzilla.redhat.com/819348
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
(cherry picked from commit a1d6784d790f081f8a6ea3a10d3cfa578aa10d5b)
commit 4e8ddb3a6f1ba1f7642f0a23d6f22a8c40d68cf0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 3 12:00:50 2012 +1000
whitespace fix
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit d1eebac72e4a5cc7a67efead13fbd32f9cd1fbd9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 3 14:21:24 2012 +1000
tools: undo indentation in synclient's parameter list
more more readable this way
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 0434d7776640861d0c8c19a02c2445d2f61627f8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 3 11:49:31 2012 +1000
Indent consistently
x-indent-all.sh from xorg/util/modular as of
c2d630fab65dbe3409af3947f6f442782ddb026f
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit a1162f80324c379bc7581e53275e8ff6d569f8b0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 3 08:06:32 2012 +1000
synaptics 1.6.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 52e194b76c9598e0fbf556e3aa97168ed4f0e2b6
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed May 2 10:16:30 2012 +1000
Fix coasting for negative scroll directions
1874094f0e99d8db319f6cf769ce5a25c9bc490c introduced negative scroll
directions. Coasting assumed always-positive increments and triggered an
endless scrolling loop.
Reported-by: Matthias Clasen <mclasen@redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 6f086b86e4bd3c720289e91fdbb933bf3e559e72
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed May 2 09:16:27 2012 +1000
Fail if no backends can be found
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 655d3100fc3f06e714ec4aa01607d86509952e4b
Author: Niveditha Rau <niveditha.rau@oracle.com>
Date: Mon Apr 30 14:51:07 2012 -0700
Include a build for solaris
Signed-off-by: Niveditha Rau <niveditha.rau@oracle.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d13e83b921a398b9472b07874cf5061c8a0ea6a6
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Apr 30 11:39:49 2012 +1000
Force SLOTSTATE_EMPTY on DeviceOff
SLOTSTATE_OPEN_EMPTY on resume leads to erroneously detected touches.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit cc595bd323aab2b0ef7b41fded2f0b5571cf0a8e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Apr 30 10:47:14 2012 +1000
Reset all hardware state on DEVICE_OFF (#49161)
Reset all state on DeviceOff to avoid stuck buttons on resume.
X.Org Bug 49161 <http://bugs.freedesktop.org/show_bug.cgi?id=49161>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit e19fff64f76200291c22d6b822bb4e8b06816745
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Apr 30 09:30:53 2012 +1000
man: fix hyphenation
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3cc828b4764c101f9acd0db9ee3638036ec7a948
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Apr 30 09:28:39 2012 +1000
man: drop mention of shm configuration
SHM is for debugging only now, not configuration.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 085662e9fe13d46b9633f1b7b9e8f95bacdec30c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Apr 27 09:20:56 2012 +1000
synaptics 1.5.99.904
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 58581bfbecfc15e7fa63c2fa4be20d2b0654f9b8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 26 12:00:49 2012 +1000
Reset scroll delta when no finger is touching
Provides for a more consistent scrolling experience, otherwise delta
leftovers may trigger extra events even when the actual scrolling action
stays the same.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 1a76d9f00e1e54ba912a47aa665968e0cfe1b8a0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 26 11:47:19 2012 +1000
Don't unconditionally divide by scroll_dist_vert (#46617)
Regression introduced in cddab79c408db3b13905a2be72aff4f7bf1406f8.
If an event has a delta of less than scroll_dist_vert, the delta is
unconditionally divided by the distance, leaving some remainder close to 0
and never actually triggering the scroll amount.
Fix this by working with the increment, not the normalised values.
X.Org Bug 46617 <http://bugs.freedesktop.org/show_bug.cgi?id=46617>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit ba31b09ba8aff6b8f3b0590e724183b0d2802ffc
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 26 10:03:28 2012 +1000
ClickPad is most definitely a bool option.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit f0c2f1d82a21de315a0088dd28ffeb394cf32c8e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 26 09:27:05 2012 +1000
Init num_touches to 0 on start
We implicitly rely on this already since we calloc the struct. Do it
expliclity on DeviceOn().
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 9ecf505c6473c65cd850a58b1b6eeb86f7d390e6
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Apr 24 15:31:36 2012 +1000
Reset touch state on DeviceOff (#49161)
Don't leave touches lingering around during suspend.
Test case:
1) leave finger on touchpad
2) xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 0
3) lift fingers
4) xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 1
X.Org Bug 49161 <http://bugs.freedesktop.org/show_bug.cgi?id=49161>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit f300adb027b856c944e0e25d0f32948823fe6b62
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Mon Apr 23 15:39:57 2012 -0700
Update src/synproto.c license to the preferred MIT/X11 license
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 5a176dc23d7dfb4648fef50ac0af144026b45078
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Apr 20 11:13:16 2012 +1000
Don't release the button on TS_3 if TapAndDrag is disabled (#31854)
TS_3 is second tap down. Unconditionally set the button as down, later, in
HandleTapProcessing we have the required conditions to reset it to TS_START
and TBS_BUTTON_UP.
Meanwhile, TBS_BUTTON_DOWN stays down, so the second tap is counted and sent
as button event. This restores double-tapping if TapAndDrag is disabled.
X.Org Bug 31854 <http://bugs.freedesktop.org/show_bug.cgi?id=31854>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 0322d301844a7e78fc9aa4ec6493bf50bc7f926c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Apr 20 11:10:47 2012 +1000
Print millis as unsigned int
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3822d58777768b351940e58d8608ba9ab877d134
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 19 16:39:41 2012 +1000
Ensure hw millis are monotonic (#48777)
The eventcomm backend takes the timestamp from the kernel, but the timer
uses the timer's "now". This timestamp may be later than the one from the
next event we read from the kernel, causing a negative dtime in get_delta()
and a cursor jump by (unsigned int)-1.
Ensure that the new event's timestamp is at least the last used one.
X.Org Bug 48777 <http://bugs.freedesktop.org/show_bug.cgi?id=48777>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Gavin Troy <gavtroy@gmail.com>
commit 11d8929647a67258ca86121a45ea638ca7299237
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Apr 18 09:30:06 2012 +1000
man: move ClickPad documentation into a single area
Having to read only one section is a tad easier than collecting the separate
options.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 1c155f644824133315ac5b3dac9076db71430eb6
Author: Chow Loong Jin <hyperair@debian.org>
Date: Mon Apr 16 11:39:44 2012 +0800
Fix coasting friction
As a result of commit 5a1612d4496b51682c9043aa064025c545249de6, coasting speed
was bumped up to a different scale by removing the divisor during the
calculation of initial coasting speed. This caused coasting friction to have
little to no effect, resulting in coasting that lasted virtually forever using
the default coasting friction value of 50.
This patch multiplies the scroll_dist_{horiz,vert} which was previously used as
a divisor for initial coasting speed to the coasting friction before deducting
it at each step, thus bringing coasting friction back under control.
Signed-off-by: Chow Loong Jin <hyperair@debian.org>
Tested-by: <Magnus.Kessler@gmx.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 50124d3ddf9bbc4be6734b47a273dbd46b4db0ba
Author: Pierre Lulé <pierre@lule.fr>
Date: Mon Apr 16 12:01:56 2012 +0200
Stop coasting when two-finger scroll begins
There is currently a problem that can lead the coasting to continue while scrolling in a particular situation :
with
Option "VertTwoFingerScroll" "on"
Option "CornerCoasting" "0"
Option "CoastingSpeed" "10"
Option "CoastingFriction" "50"
Option "CornerCoasting" "0"
If you scroll down with two finger then raise a finger, coasting will start. But if you put down that finger and try to
scroll up, the inertia will still scroll down while you scroll up. This can look like a very particular situation, but
happens to me often while scrolling in a big document.
This (awfully simple) patch stop coasting when detecting two-finger scroll.
Signed-off-by: Pierre Lulé <pierre@lule.fr>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d90003383cbec75da88bf1a88b886b1131597f3f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Apr 16 16:47:38 2012 +1000
synaptics 1.5.99.903
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 1874094f0e99d8db319f6cf769ce5a25c9bc490c
Author: Alyssa Hung <ahung@isisview.org>
Date: Fri Apr 13 01:04:38 2012 -0400
Support inverted scroll direction.
This patch allows scroll direction to be inverted by allowing
VertScrollDelta and HorizScrollDelta to be set to negative values. This
enables behaviour that is consistent with modern touchscreen devices,
where the content scrolls in the same direction as the user's finger
movement.
Signed-off-by: Alyssa Hung <ahung@isisview.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 38b93b71c812c6d7b7085f40d049b0a4927e52dd
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Mon Apr 2 11:23:05 2012 -0700
Use maximum number of touches reported by evdev
This resolves a regression from da461b91659d0c64aa6827e065aee2682116a57e
where three touch tap and click actions on certain devices no longer
work.
Some devices report a higher touch count than the number of touches they
can provide data for. For example, many Synaptics touchpads can report
up to five touches, but only provide data for two of them. We need to be
able to report the correct number of touches for these devices when
there are three touches. Using the maximum of the reported touch count
and the number of touches provided ensures the count is accurate for all
device types.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 5a1612d4496b51682c9043aa064025c545249de6
Author: Pierre Lulé <pierre@lule.fr>
Date: Wed Mar 28 00:13:30 2012 +0200
Fix coasting speed
Fixes a bug introduced in commit 2603ad69b997c999404ecc441e0d64ea2cc22018
(Use the scroll distances as increment for scrolling valuator axes)
Since this commit, scroll distance was set with SetScrollValuator function
but it was still used as a divisor to calculate coasting,
thus making coasting too slow. (at least on my computer)
Deleting the divisor fixes the issue.
A report of the same bug : https://bugs.archlinux.org/task/28955
Signed-off-by: Pierre Lulé <pierre@lule.fr>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f68ddd9be4202333a1c3ccf536966a96dc0bfde7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Apr 10 13:06:49 2012 +1000
Don't count fingers twice when guessing distance (#48316)
A finger may be closer than the required distance to more than one finger.
e.g. for fingers A, B, C, AB, AC and BC may trigger the check and count
C twice -resulting in a 4 finger click.
Avoid double-counting by marking those fingers already close enough to a
previous finger to avoid overcounting.
X.Org Bug 48316 <http://bugs.freedesktop.org/show_bug.cgi?id=48316>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit c745604461541c7b21779c60c9bd09ff1a390df2
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Apr 11 10:15:07 2012 +1000
tools: skip non-existing properties
If a property doesn't exist on a device, skip it.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 8e297cb586ab855dc7c018c6f3f2f42c08db0419
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Apr 10 13:03:35 2012 +1000
Replace hardcoded max number of touches with a define.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 3f9794a8a0f019a4b153941c9ec1927c7797ce6f
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Mon Apr 9 11:38:16 2012 -0700
Check touch record bounds before access
We guess ten simultaneous touches if the device does not tell us. The
Linux drivers for the Apple multitouch trackpads do not tell the number
of simultaneous touches, but they can do more than ten. When this
occurs, the array index into the touch records will be invalid. We must
not process the touch or else we will segfault.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4c87455f3ecd1b82a3612a3050e463a0efb90f0c
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Fri Mar 23 10:51:59 2012 -0700
Do not perform a tap action when more than three touches
Though this looks like a behavior change, it really isn't since the
maximum tap_max_fingers that was previously possible was already handled.
The only real change is that if a tap is recognized but the
tap_max_fingers is zero, a tap will no longer be emitted. This shouldn't
happen in the real world.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit da461b91659d0c64aa6827e065aee2682116a57e
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Fri Mar 23 10:51:58 2012 -0700
Count number of multitouch touches for multitouch finger count
The evdev protocol only goes up to three touches for non-multitouch
devices. If you perform a four touch tap, the finger count will only go
up to three touches if you roll your fingers, or will always be 0 if all
four touches land at the same time.
This change ensures the correct finger count is reported.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit bc95d90be17d52726b85c785a8e7503512e8fa3d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sat Mar 24 19:52:35 2012 +1000
Define various EVIOCGPROP bits if non-existent
And make the ioctl conditional.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 291fdc69801c91310839fc8667ba7aa2e9a66b95
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 23 15:45:10 2012 +1000
conf: the bcm5974 doesn't have Apple in the product name
But it's still a single-button device from the known fruit manufacturer.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4a80c0dc38ea4dafcb112191c2dd7e0082193263
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 23 10:38:20 2012 +1000
synaptics 1.5.99.902
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b6779458bcdb049480310ba1acb3991ad061ffc7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Mar 22 15:15:47 2012 +1000
conf: enable right-button click by default on non-Apple clickpads
The right-half of the bottom 18% of the touchpad are enabled as right button
by default. On Apple touchpads (these don't have marking for the right
button) disable them by default.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c9cf8827b129a553ad3cd3d7ee6f463a6e94227d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Mar 22 15:20:45 2012 +1000
use xf86SetStrOption for SoftButtonAreas
This way the option is reported in the log when parsed.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit cea97dd5e09b165c2a4b2bbbb5741a03f152ed37
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 14 16:47:26 2012 +1000
Allow soft button areas to be specified in % of the touchpad
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit b3348eb7e4e2187e11aa3c1cec2a58512759e6aa
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Wed Mar 21 12:58:30 2012 -0700
Include open but unchanged touches when guessing clickfingers
On a clickpad, when the button is pressed the clickfinger guessing will
only work properly if all touches have new data to report. If a touch
has not changed, then it will not be counted. This leads to inaccurate
finger counts.
This change ensures that all active touches are counted. Note that the X
and Y valuators of active but unchanged touches are still valid.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit eba82d203e5e817a61180c6510d8de0d063ed05d
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Wed Mar 21 12:58:29 2012 -0700
Keep track of which touch slots are open
This change adds a new touch slot state that denotes when the slot is
open but does not have any new data to report.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 73ec252b6f2d25cc49557b1d3789b459b60b8d4e
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Wed Mar 21 12:58:28 2012 -0700
Fix clickfinger actions when buttons other than 1 are reported
The "old" logical state now holds the clickfinger action button. In
order to check for proper clickpad press transition, we need to check if
any of the left, middle, and right logical button states are pressed.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 93c72117e169624854f6eb63591702d7e4dae97c
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Wed Mar 21 12:58:27 2012 -0700
Fix clickfinger actions when middle button emulation is enabled
When MBE is enabled, a physical left button press is delayed until a
timeout is reached. This results in the logical left button being
depressed while the physical left button is pressed. The physical state
is stored as the "old" hw state, and it is used for detecting a
transition from depressed to pressed for clickfinger actions. Since the
"old" hw state shows the left button pressed, but the current logical
state shows the left button unpressed, when the MBE timeout fires and we
set the logical left button pressed the transition check fails.
Since the "old" hw state is only used for clickfinger left button press
transitions, redefining it to hold the previous logical hw state is
sufficient for fixing the bug and should not cause any regressions.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 5cde789fcafaed47c2533c4315e5c7d5548605f5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 14 13:24:32 2012 +1000
Fix inverted circular scrolling direction
Introduced in 26831a6eeac6762ad4d99532f62ebbab0827de10.
In said commit, the old-style button events were changed to delta
accumulation. Alas, for circular scrolling, a positive delta is up whereas
for everything else a positive delta is down.
Reported-by: Thomas Bächler <thomas@archlinux.org>
Tested-by: Thomas Bächler <thomas@archlinux.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit dd650a064b98b1c325a38e1370cc11059c257b07
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 14 08:56:45 2012 +1000
synaptics 1.5.99.901
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 6c457c0c61a0834361f45a073148db7b4c9be40b
Merge: defc1d0 fee18d8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 14 08:48:00 2012 +1000
Merge branch 'clickpad-v3'
commit fee18d8567efd2e5abf6b29eb1ae9ee0e3858013
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 13 16:08:12 2012 +1000
Soft buttons are only available on clickpad devices, disable them otherwise.
If the clickpad support is runtime enabled/disabled, the property
appears/disappears accordingly.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit c546779b32d8be23475b3b062e3ebc9235365c0d
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Thu Feb 9 16:56:29 2012 -0800
Ignore motion during touch count changes on semi-mt devices
Semi-mt devices do not track touches. The locations of touches are
unknown, we only have the bounding box of two of them. When the number of
fingers changes, the bounding box coordinates may change as well, but
the cumulative relative motion updates at that instant are invalid.
To work around this, ignore changes in cumulative relative motion if the
touch count changes.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 405f1643e26b57ee97063e76e71179ba8e9fbc92
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Mon Feb 6 17:33:11 2012 -0800
Add soft button areas property
Some clickpad devices have button areas painted on them. Set this
property to the area of the right and middle buttons to enable proper
click actions when clicking in the areas.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f198522064501726d76bef4e11c02cfc778bb0c5
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Thu Feb 9 11:18:25 2012 -0800
Calculate touch data for semi-mt devices, but don't send touch events
Previously, all touch data from semi-mt devices was ignored because the
X server doesn't support them. However, the touch data must be used for
proper clickpad handling.
Instead of ignoring semi-mt device touch events, mark the device as
being semi-mt and allow initialization of the touch state. The touches
will then be used in calculating the cumulative_d{x,y} values that are
needed for clickpad support.
When handling the touch data for X event processing, simply skip over
reporting the touches.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a6361e2d2c093c4170bab63307526702fe9903ad
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Tue Feb 14 14:46:07 2012 -0800
Disable scrolling when beginning a clickpad press
There really isn't a point to scrolling while a clickpad is pressed. In
particular, the clickpad button areas and the horizontal edge scrolling
areas overlap, so horizontal edge scrolling must be disabled. Also,
performing two finger scrolling while a third finger presses the button
would require us to inhibit touch events until four touches are present.
That is enough reason to disable two finger scrolling as well.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit de75ad6b073c1a36d5a60190de5ffe6611520637
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Thu Feb 9 10:57:00 2012 -0800
Enable clickpad click and drag with two fingers
Use cumulative relative touch motion when the clickpad is pressed. If
more than one touch is active, assume one of the touches is designated
solely for pressing the clickpad button. Thus, decrement the number of
reported touches.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 500243ac60ffeb5372e2edbce2f4443a07877d2e
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Thu Feb 9 10:43:08 2012 -0800
Add cumulative_d{x,y} to SynapticsHwState
These values will be used for clickpad press and drag with two fingers.
While the clickpad button is not pressed, cumulative_d{x,y} will match x
and y values. Once the clickpad button is pressed, cumulative_d{x,y}
will be updated with the relative motion of each active touch on the
touchpad. This allows for dragging with one finger while another finger
stays stationary holding the clickpad button down.
This is an easier and less latent approach than trying to guess which
touch was the "dragging" touch.
[fixed build error for mt off]
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 420e0abef663729b3ce6e9d26360e616b7270ba6
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 9 14:30:58 2012 +1000
Guess the number of clickpad ClickFingers based on finger distance
The actual distance should be done in cm, based on touchpad resolution etc.
That is left as an exercise for the reader.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 739cf056685772e69744f009f567e54324bc9dd0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 9 15:33:56 2012 +1000
Disable middle mouse button emulation on clickpads
Because, well, really, how?
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 331dd969536aad48fae107e2215bfdd3e95db77e
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Thu Feb 9 11:26:06 2012 -0800
Add clickpad device property
Add it as a writable device property. We may not know how to probe some
clickpads so allow the user to override it.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a64e1632836067091be5ca45d0444c416bf48948
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 9 15:38:25 2012 +1000
Add a BTN_EMULATED_FLAG to mark emulated buttons on clickfingers
And when copying the hardware state, don't copy those buttons that were set
through emulation.
This is a temporary fix only, we should add new fields to the hw struct that
represent the various features as they are enabled/disabled and then treat
them accordingly.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 70b4e983c6626b9b20bdf59324f64b3fd99c5202
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 9 14:29:28 2012 +1000
Only handle ClickFingers on left button press events
ClickFingers doesn't need to be handled on every state, only when the actual
button state changes.
This is a break from the previous behaviour which allowed pressing the
button followed by a two-finger tap to trigger the ClickFinger2 action.
Let's see if anyone complains.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit f6c1efbc6d22f41fb8a4abd2f57db173a2ac3171
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 9 14:20:35 2012 +1000
Add an old_hw_state field to remember the last values
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit bad1b75524f2fa882e9b6ac7160463fbd3b5cccf
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 9 13:43:04 2012 +1000
Move resetting hw state to separate function.
No functional changes.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit f0381f48a9383313e65508ec710b5c690b16286a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 9 13:39:32 2012 +1000
Move filtering into a separate function
No functional changes.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 4eea50d513bca888d8fe13759d0cc44de67bc4c0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 9 13:25:27 2012 +1000
Move st->mt scaling to helper function
No functional changes.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 5bf7018783d1a96c9fac7a9074274e9b8606604d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 9 13:22:53 2012 +1000
Use arrays for st->mt scaling
No functional changes
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 893ac427d0a7952c0f949071296fc2255790465e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 13 11:41:53 2012 +1000
If the middle button timeout is 0, don't even attempt to emulate.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit defc1d008e5674306a7e9b9cb0c750d9787990b7
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Thu Feb 9 16:22:35 2012 -0800
Don't use linear regression when calculating touchpad motion deltas
The results depend on the data rate of the device. A device with a
higher data rate, and thus lower individual deltas, will behave
differently with the regression calculation.
This can be verified on Synaptics semi-mt clickpads. The data rate is
halved when two or more touches are on the device. When trying to press
a button and drag the cursor with another touch, the motion will feel
faster than dragging with only one touch on the device.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7f5bd79b2e361a89a8c2716c218e4ae70b7164b8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 13 11:28:17 2012 +1000
tools: add hysteresis support to synclient
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 90d6633d11aa3691b6b39df3931a4024b832eb05
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Mar 12 09:45:05 2012 +1000
Fix build error - duplicate typedef (#47168)
Introduced in c34cf307f9982b62c6e6dfa2687e1b16f527f2a4.
synapticsstr.h includes synproto.h, which now contains the typedef.
X.Org Bug 47168 <http://bugs.freedesktop.org/show_bug.cgi?id=47168>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit fadf9cf5e8659ca8500faac498327e6cadcd2652
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 9 12:18:46 2012 +1000
Always require mtdev on eventcomm
Since a missing mtdev disables all of multitouch on eventcomm, we might as
well always require it.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 65243aedd8512d8cb439f7597862a545e8ca52ea
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 7 09:12:55 2012 +1000
Fix horiz/vert scroll delta mixup
No effect as both have the same value anyway.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 704c0fa3b677d5d648d0ab9d65cd03043797f3bf
Author: Peter Zotov <whitequark@whitequark.org>
Date: Fri Mar 2 11:21:36 2012 +1000
Implement a workaround for Elantech touchpads
All Elantech touchpads report the number of fingers explicitly,
and at least the v3 version of the hardware can report any
pressure values down to zero. This interferes with the tap
detection hysteresis, which is required for dumb touchpads.
This commit implements a vendor-specific workaround for Elantech
touchpads which sets the FingerLow and FingerHigh options to 1
by default, effectively disabling the hysteresis mechanism.
Signed-off-by: Peter Zotov <whitequark@whitequark.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit cddab79c408db3b13905a2be72aff4f7bf1406f8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Mar 1 16:27:01 2012 +1000
Fix scoll increment for non-smooth scrolling (#46617)
Introduced in 2603ad69b997c999404ecc441e0d64ea2cc22018. Previously, the
delta was incremented by (actual delta/scroll dist), button clicks where
then sent while (delta-- >= 1).
After 2603ad69b997c999404ecc441e0d64ea2cc22018, the delta was incremented by
the delta only, scroll dist was used as increment in the smooth scrolling
information. On non-smooth-scrolling servers, the driver would now send
too many events. Restore the old behaviour by dividing by the scroll
distance before entering the button click loop.
X.Org Bug 46617 <http://bugs.freedesktop.org/show_bug.cgi?id=46617>
Tested-by: Peter Zotov <whitequark@whitequark.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 0a2fd560aa965ceac64c8fb047ca90006408a6f4
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Tue Feb 21 21:42:16 2012 +0100
Update touch state when device is off too
If the device is turned off, usually by syndaemon to disable the
touchpad while the typing, the touch state will not be updated with the
latest hardware state changes. If a touch begins while the device is
off and ends while the device is on, then the touch count will be
decremented without any previous increment. A similar effect will occur
if the device is on when the touch begins, but off when the touch ends.
If the touch count goes negative, the index into the touch slot mask
array will be out of bounds. This can corrupt memory and cause random
crashes.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit dfc3a8ed713c2878407c6443c4d3092da3125e0c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Feb 21 11:32:40 2012 +1000
synclient: accept XA_CARDINAL as 32-bit type (#46330)
PressureMotionMaxZ and PressureMotionMinZ were changed from float to
XA_CARDINAL in 24c44375025576dd600ccf370ba365e5d94dc22. Accept the new type.
Fixes:
PressureMotionMinZ = format mismatch (32)
PressureMotionMaxZ = format mismatch (32)
X.Org Bug 46330 <http://bugs.freedesktop.org/show_bug.cgi?id=46330>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c25ff549c9636ad89a81fbf364159c7f040d163b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Feb 17 11:49:43 2012 +1000
Revert "Don't store fake events in the motion history"
This commit introduced a regression. On some touchpads, the pointer keeps
moving in the last direction when the finger movement stops but the finger
is left on the touchpad.
Cause appears to be get_delta() which calculates the deltas based on the
motion history but has no control flow for the lack of fake motion events
in the history after this commit. Thus, under some conditions, the delta is
always non-zero as the history does not change.
Reproducer attached to bug
https://bugs.freedesktop.org/show_bug.cgi?id=45278#c11
X.Org Bug 45278 <http://bugs.freedesktop.org/show_bug.cgi?id=45278>
This reverts commit c8b098214b44cf0585d78c460401ea7d143769f3.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Acked-by: Daniel Stone <daniel@fooishbar.org>
commit 0646cdb99d708e03137afc9aabd8957f3559546a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Feb 17 11:46:12 2012 +1000
Fix build error if HAVE_MTDEV is false
priv->has_touch is conditional on HAVE_MTDEV
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
commit f9a906590e59383aef3c53faca98f0de40859f17
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Sat Feb 11 18:57:20 2012 +0100
Prefer multitouch over single-touch axis ranges
We still use single-touch data in most cases, but sometimes the
multitouch axes have higher resolution. Since we use the same XI
valuators to report ST and MT data, we must pick one axis and scale the
other to match. This change picks the MT axis ranges.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit e6032c34515a19ebac09090028f806d82ddfb62d
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Thu Feb 9 10:06:54 2012 -0800
Filter touch events if two-finger scrolling is enabled
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 796e0d43917de99757c08fd2998134cf6f5583c9
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Thu Feb 9 10:01:49 2012 -0800
Filter touch events if tap actions are enabled
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 061e4a259644408899e03ba5abdd979691a02b1a
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Thu Feb 9 09:55:17 2012 -0800
Filter touch events if click actions are enabled
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 336f9a09d090a8c3a9c976ab04ffb17bcdc2c2ea
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Wed Feb 8 15:06:33 2012 -0800
Move X touch event processing into synaptics.c
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 673c5fa14bff669d82f5711511a37bd3abe75471
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Wed Feb 8 16:08:02 2012 -0800
Add open_slots array to SynapticsPrivate
Initialize touch stuff in a separate function for readability.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 5cb5bb573491058c35bbaac5c4c4fceea4626f57
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Tue Feb 7 14:45:11 2012 -0800
Add touch valuator mask to hw state structure
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 0df994b3d80006d2fb114226d8b488e98d0e03d4
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Wed Feb 8 15:07:38 2012 -0800
Rename num_touches to max_touches
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 5486ab3486e1ba4a0ef8fc9efe4d243ea90f5794
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Tue Feb 7 14:38:33 2012 -0800
Introduce SynapticsCopyHwState function
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 5658a2f643cf7440009dde2fa74287332237c0b9
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Wed Feb 8 16:59:54 2012 -0800
Allocate priv->hwState
This is needed for when SynapticsHwState can't be allocated on the stack.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7bcbf8eb110b1f7c6c085d3dcd69f66b00df2b8a
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Tue Feb 7 15:35:03 2012 -0800
Allocate SynapticsPrivate.comm->hwState
This is needed for when SynapticsHwState can't be allocated on the stack.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a78d55d021c9cd3be6501760d6fca3464ea6dec8
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Tue Feb 7 15:23:43 2012 -0800
Allocate SynapticsHwStruct for local function use
SynapticsHwStruct (SHS) will soon include ValuatorMasks, which can only
be allocated on the heap. The input driver callbacks are called in
signal context, so we can't instantiate a new SHS when that occurs.
Since we only ever need one SHS, allocate one at device init time and
use it in place of local SHS instances.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit e5cd694ed1028b94fdbe10d76dbea1e03455f8fb
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Fri Feb 10 10:24:04 2012 -0800
Transition eventcomm-test to new SynapticsHwState instantiation scheme
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c34cf307f9982b62c6e6dfa2687e1b16f527f2a4
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Tue Feb 7 15:14:05 2012 -0800
Introduce SynapticsHwStateAlloc() and SynapticsHwStateFree()
Put them in a new file so eventcomm-test can access them.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 146edc2baad1388f49a7a857c2003faa171876c7
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Fri Feb 10 10:48:44 2012 -0800
Allocate proto data in eventcomm-test
Provide a helper function for allocating proto data and use it in
eventcomm-test. This ensures a null pointer for priv->proto_data is not
dereferenced.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 49f6109032f2ce6171d1aad02672479d2c78c083
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Tue Feb 7 13:07:07 2012 -0800
Revert "Replace the motion estimator"
The algorithm is completely wrong because it uses subtraction of
unsigned variables. The negative effects of this commit manifest in
cursor warps to edges or corners of the screen.
Since the algorithm has never worked right, previous testing must be
disregarded. Revert it until we have a tested algorithm.
This reverts commit b26125e412a130b7a8f8b6adf9ffc8e9cc8df42c.
Conflicts:
src/synaptics.c
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 141d9120b1ff4a88a09a1df7d63a4854447346ec
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Feb 7 03:33:01 2012 +1000
Submit the right number of MT axes
For devices with only x/y, num_mt_axes is 0, since x/y are already counted
elsewhere. The server will then fail to init the TouchClassRec since it
expects at least 2 touch axes. Fix this, assume we always have at least two
touch axes if we have any touch axes at all.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit e4ee51e771a6da247362549044a076462791022b
Merge: da0d20d 6b808dc
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Feb 7 02:51:08 2012 +1000
Merge branch 'fixes' of git://people.freedesktop.org/~cndougla/xf86-input-synaptics
commit 6b808dc766a0d1e64e19e4d5fad5f8a1a4e0d62d
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Wed Feb 1 15:23:00 2012 -0800
Don't initialize semi-multitouch devices for touch device class
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
commit a8b065eeb847493afd31e49623fac9c952811993
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Wed Feb 1 15:42:21 2012 -0800
Don't initialize touch state if device does is not multitouch
And don't attempt to use it either.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
commit 4824f67e7b9cf402a2df10c17f583916c4ef83eb
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Wed Feb 1 14:26:29 2012 -0800
Don't emit touch sequences if only one touch is active
When a second touch begins, emit a touch begin for the first touch with
the current valuator values. When a touch ends and we are going from two
touches down to one touch, end both touches. This ensures we don't send
a touch sequence at the same time we are moving the pointer.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
commit da0d20d0fd5cce3707b54146e54e2df0c697e1b4
Author: Benjamin Otte <otte@redhat.com>
Date: Mon Feb 6 00:45:23 2012 +0100
eventcomm: Fix initialization code
num_mt_axes contains the number of non-x/y multitouch axes, and the valuator
mask needs to contains x, y, followed by two empy values for the scroll
valuators, followed by the remaining MT axes.
https://bugs.freedesktop.org/show_bug.cgi?id=45663
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3822705204f454fea6cc0bf61904c4b7186abee2
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Thu Feb 2 13:19:16 2012 -0800
Only move the cursor when one touch is on a touchpad
Otherwise, we might post motion events and touch events for the same
physical interaction.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit dfdcf8b34363ed2504347d00957a3606f82c0b0d
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Thu Feb 2 13:19:15 2012 -0800
Ensure delta computation does not go crazy
I have seen this a couple times, but I haven't been able to catch it
when it starts. It's a feedback loop, so once you miss the entrance of
the loop, you can't see what really went wrong.
This patch papers over the issue for now.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Acked-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 782c7fb6fe20ed21b02808096de12d3cbf1afc8b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Feb 6 23:43:32 2012 +1000
Remove compiler warning: unused variable "atom"
synaptics.c: In function 'DeviceInit':
synaptics.c:1161:18: warning: unused variable 'atom' [-Wunused-variable]
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 53adb8399d468d429cd879516aa24a8420f60f60
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sat Feb 4 23:23:28 2012 +1000
synclient: fix indentation of "format mismatch" parameters
Prefix is 4 spaces, not three.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d15c391544e9ba094b17c9217a837c58d88879f8
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Thu Jan 19 13:05:50 2012 -0800
eventcomm: Add touch event handling
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit efdc34859bdbcf0622e88aaf8af99944c1fc2141
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Thu Jan 19 13:05:49 2012 -0800
eventcomm: Read evdev events from mtdev where multitouch is available
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b1b9745979babd480574b41af155dfe5c06591f8
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Thu Jan 19 13:05:48 2012 -0800
eventcomm: Initialize touch device and axes
Use mtdev to ensure touches are tracked and of evdev MT protocol type
B.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 56d32619b95eb472104068c35ea7146dccb8d1bf
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Thu Jan 19 13:05:47 2012 -0800
Add touch device class support
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7ef9150d832d6ede991c5def02d2964c8047ad4f
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Thu Jan 19 13:05:46 2012 -0800
Allocate axis labels array dynamically
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3804a0ee0bec455fcc61a469dd907738ff5589bd
Author: Daniel Stone <daniel@fooishbar.org>
Date: Wed Jan 4 17:02:30 2012 +0000
Constify priv->device
Fixes a compiler warning due to discarding the const qualifier as it
comes back from the option code.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c861d4568c2c6cc56db8e683a8d7035bef711262
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jan 3 11:03:14 2012 +1000
test: fix build error introduced in 9f9b55ab55ed5
Bad search/replace, ended up in two xf86SetStrOption declarations which
differed on ABIs < 14.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=44335
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit f5c60a6d1e87353975a340f8fb2f318c8edceea0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jan 3 10:59:46 2012 +1000
Remove unused variable 'thr'
synaptics.c: In function 'SynapticsAccelerationProfile':
synaptics.c:619:12: warning: unused variable 'thr' [-Wunused-variable]
On input ABIs < 14.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 3ec93218d2211420ede260e298ff5e23202556ff
Author: JJ Ding <dgdunix@gmail.com>
Date: Wed Dec 28 14:46:02 2011 +0800
fix wrong finger width range
Signed-off-by: JJ Ding <dgdunix@gmail.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9f9b55ab55ed5251c1607c59d8817231d076d82c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Dec 12 11:35:37 2011 +1000
test: fix build errors introduced by upstream server change
Introduced by upstream change xorg-server-1.11.99.1-33-g09e4b78,
Fix gcc -Wwrite-strings warnings in xf86 ddx
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b7e65f04f5f0c17ac8a26393134cc7e8418ccdec
Author: Cyril Brulebois <kibi@debian.org>
Date: Mon Dec 12 01:35:27 2011 +0100
Revert: "eventcomm: replace synaptics-custom TEST_BIT with server's BitIsOn."
This commit reverts 13543b156d78bc4d01a19844a5ee8f283269621b
As seen in Debian's #648488, this switch causes a regression on
PowerPC, especially seen on iBook G4 with appletouch. Take a defensive
stance and revert back to a working state until things have been figured
out and fixed properly.
Since things have evolved and since that revert triggers a lot of
conflicts, the following method was applied:
- manual reintroduction of the 3 removed macros: OFF, LONG, TEST_BIT
- coccinelle semantic patch to revert from BitIsOn to TEST_BIT
Coccinelle semantic patch:
@@
expression a,b;
@@
-BitIsOn(a,b)
+TEST_BIT(b,a)
Bugzilla: http://bugs.debian.org/648488
Signed-off-by: Cyril Brulebois <kibi@debian.org>
commit 0cd5a77c3a455e942929eb4d5412fa51630ed13f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Nov 30 09:59:37 2011 +1000
If protocol is auto-dev and the device path is set, unset the protocol
The remainder of the handling code will take try through all protocols,
taking the device into account (as of
xf86-input-synaptics-1.4.0-34-g241254e)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
commit d1301412d7b7acd6325f0561c109f2b8e1c7a999
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Nov 30 09:39:12 2011 +1000
Return true/false from SetDeviceAndProtocol
Instead of requiring the caller to know which private field indicates
failure, just return true on success or false on failure.
No functional change.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
commit 2603ad69b997c999404ecc441e0d64ea2cc22018
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Oct 18 15:46:03 2011 +1000
Use the scroll distances as increment for scrolling valuator axes
XI2.1 allows an 'increment' for each scrolling variable. Use that instead of
hiding it away inside the driver.
For circular scrolling, the increment is the one of the respective scrolling
axis.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4f46057a33b20df62d919e49a394ab6cb7aa6aa1
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Jun 9 20:03:11 2011 +0100
Scroll: Initial smooth scrolling support
Post smooth-scrolling events through the new X server API when
available, rather than legacy jerky button events.
[Amended to use the final smooth scrolling API]
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Amendments-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 15bef1f7092d37aeaa916ed7642ae3b6e684660c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Oct 21 16:52:57 2011 +1000
eventcomm: print strerror(errno), not of rc
Found by coverity.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
commit cefc85ad44af340b3d2cad76ec1dc54ceba0558f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Oct 18 15:46:57 2011 +1000
Fix compiler warning - unused variable 'para'
synaptics.c: In function 'post_scroll_events':
synaptics.c:2426:26: warning: unused variable 'para' [-Wunused-variable]
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 26831a6eeac6762ad4d99532f62ebbab0827de10
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Jun 9 20:03:10 2011 +0100
Scroll: Prepare ScrollData for smooth scrolling
Convert ScrollData from up/down/left/right members for button presses,
to more fine-grained delta_x and delta_y members, and move these to
priv->scroll.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7c0361d4ec6b1f1325cb6551d0ee2e7f5cfae15b
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Jun 9 20:03:05 2011 +0100
Adjust acceleration scheme for input ABI v14
v14 wants doubles, rather than floats, from acceleration schemes.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a15af628154ac37f24896a30614f3be6ecdb65c4
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Oct 12 11:20:06 2011 +1000
test: wrap ABI 14 xf86OptionRec type changes
ABI 13 still uses pointer as type for most option calls, ABI 14 uses the
proper type now. Wrap this so we can build against both versions.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit ba981e223ae4449b08ff972b69220d435a735075
Author: Casper Dik <casper.dik@oracle.com>
Date: Fri Sep 2 10:32:50 2011 -0700
Extra buttons on Acer Ferrari 4000 laptop touchpad are not recognized
The code was checking for a value of exactly 1, while the Synaptics
docs at http://www.synaptics.com/sites/default/files/511-000275-01rA.pdf
say:
Extended Model ID. This query returns the product ID, additional
capability bits, and additional bits to widen the infoSensor
field. infoSensor is a part of the Model ID query (query $03).
The Extended Model ID query is only present if nExtendedQueries
is *greater than* or equal to 1.
Signed-off-by: Casper Dik <casper.dik@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit bc789cc7a057357e27faf1c6727dc95f6d02fcea
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Sep 5 09:26:56 2011 +1000
man: note that a PS/2 device is not supported
If all we see is a PS/2 Mouse or similar, then the kernel doesn't give us
the required bits to provide all the functionality we want. Note that in the
man-page.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
commit 7a72af1ce105fd857214bb641a8fa2cfd150a5f7
Author: Alexandr Shadchin <alexandr.shadchin@gmail.com>
Date: Fri Aug 26 18:42:08 2011 +0600
The correct maximum values for pressure and finger width
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 45d4a6bec01deac5cca6639c55062b110462155f
Author: Alexandr Shadchin <alexandr.shadchin@gmail.com>
Date: Fri Aug 26 18:42:07 2011 +0600
On/Off hooks to return boolean so we can bail out of the caller
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 2034e1e26497bce815eae0429f7e29faf2d9adaf
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Aug 25 10:58:43 2011 +1000
Fix compiler warning: unused variable "wakupTime"
Introduced in 458c7251295e767fae7a0ac3366212361bce25a6
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4fe1b58c2c6903961a84077363a0c8de5736c650
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Jun 9 20:03:09 2011 +0100
Scroll: Modify ScrollData in repeat_scrollbuttons
repeat_scrollbuttons used to read the scroll repeat values and then post
button events directly. Instead, make it modify ScrollData and let
post_scroll_events take care of sending the scroll events, which
requires moving the repeat_scrollbuttons call upwards.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit df68486254b38b7f08f7d510ce1b75aaef9e52fd
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Jun 23 15:02:26 2011 +0100
Scroll: Move coasting variables to priv->scroll
Also rename (e.g. autoscroll_x -> coast_delta_x, and
autoscroll_xspd -> coast_speed_x) variables to clarify things a bit.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit aae994cc0c08e6da270c199af429315a3a2092bf
Author: Derek Foreman <derek.foreman@collabora.co.uk>
Date: Fri Jun 3 18:28:59 2011 +0100
Scroll: Add last_millis to track scroll event timing
Stopping a little short of having a full scroll history, adding
last_millis lets us track when the last scroll event we sent was,
for more accurate timing of coasting in particular.
Signed-off-by: Derek Foreman <derek.foreman@collabora.co.uk>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit fb7c0c5965b6843f38e9c881f4c349006ec0da32
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Jun 23 13:58:31 2011 +0100
Scroll: Move scroll_[xya] into new priv->scroll struct
And rename them to last_x, last_y and last_a respectively, as they're
used to store the values as of the last scroll event sent.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 81a8ddb4a768bee3a4b304716fa4cfead49a2761
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Jun 9 20:03:08 2011 +0100
Scroll: Clarify rep_buttons assignment
Instead of a combined variable declaration with two ternary expressions
using raw hex values, expand it to have two genuine if statements,
setting with a more clear bitshift.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f40bbf7494a6122d464e3fff4309f69af2a20e4a
Author: Derek Foreman <derek.foreman@collabora.co.uk>
Date: Mon Mar 7 17:49:42 2011 -0500
Revise palm check logic
Make the palm-check logic more stable and reliable, and make sure that
any palms are blocked for the duration of their presses.
Signed-off-by: Derek Foreman <derek.foreman@collabora.co.uk>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 86dfe5086ff672e4d3c354980b999c6f3a27ebec
Author: Derek Foreman <derek.foreman@collabora.co.uk>
Date: Wed Mar 23 14:12:36 2011 -0700
More accurate extrapolated fake motion events
Use better time estimates so we can provide better fake motion events.
This reduces the difference between motion with one and two fingers down
to be almost imperceptible, despite the reporting rate being halved on
PS/2 devices.
Signed-off-by: Derek Foreman <derek.foreman@collabora.co.uk>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b26125e412a130b7a8f8b6adf9ffc8e9cc8df42c
Author: Derek Foreman <derek.foreman@collabora.co.uk>
Date: Wed Mar 2 12:31:58 2011 -0500
Replace the motion estimator
Use a smarter motion estimator that attempts to draw a best-fit line
through the history where possible, including taking acceleration into
account.
Signed-off-by: Derek Foreman <derek.foreman@collabora.co.uk>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Simon Thum <simon.thum@gmx.de>
commit ffed18dfffda32de7282e44c5b8d1fb7d5454b54
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Jun 14 17:41:58 2011 +0100
Update count_packet_finger in store_history, not get_delta
Seems more sensible to update the count of packets in the history when
we update the history, rather than somewhere else entirely.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c8b098214b44cf0585d78c460401ea7d143769f3
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Jun 14 17:24:24 2011 +0100
Don't store fake events in the motion history
As the subject says: don't store any synthesised events in the motion
history, since we can recreate those algorithmically.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 458c7251295e767fae7a0ac3366212361bce25a6
Author: Derek Foreman <derek.foreman@collabora.co.uk>
Date: Thu Mar 31 14:29:43 2011 -0700
Use hardware time where possible
Rather than always setting hw->millis as the time when we received the
event in our SIGIO handler, use the time provided by the kernel if
applicable (i.e. if we're using evdev rather than PS/2 or similar).
Signed-off-by: Derek Foreman <derek.foreman@collabora.co.uk>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
[from_timer is in preparation for a future patch, currently unused]
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 495e0fe1b7afa9de04ee0341da1ade4d3d4f50b8
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Jun 23 11:19:18 2011 +0100
Use CARD32 for timestamps
As GetTimeInMillis() returns a CARD32, switch every timestamp usage to
follow.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 2ebf984262d6bd471b4b5f1333785865e8d3c25f
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Jun 9 20:02:58 2011 +0100
Introduce POLL_MS for packet frequency
We expect to be receiving a steady 80 packets/sec (which gives 40
reports/sec with more than one finger on the pad, as Advanced Gesture
Mode requires two PS/2 packets per report). Instead of a random
scattering of magic 13 and 20ms numbers scattered throughout the driver,
introduce POLL_MS as 14ms.
Having this here allows us to call back at a steady frequency to ensure
that the finger motion remains steady.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 6d1f8f9886cbd4b3073502f3f37c4dd618971361
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Jun 9 20:02:49 2011 +0100
Give FingerState enums explicit values
Since we depend so heavily on ordering and numbering, just give all the
enum explicit number values.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 0f171af28410f939a915064af9fb9af38118455d
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Jun 9 20:02:52 2011 +0100
Add HIST_DELTA macro for differences in history
HIST_DELTA(a, b, e) is equivalent to HIST(a).e - HIST(b).e. Replace the
one user of this pattern with a HIST_DELTA call.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a24c44375025576dd600ccf370ba365e5d94dc22
Author: Derek Foreman <derek.foreman@collabora.co.uk>
Date: Mon Mar 21 16:01:29 2011 -0700
Fix pressure->motion property format
CARD32, not float.
Signed-off-by: Derek Foreman <derek.foreman@collabora.co.uk>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
commit 627b09e5bd0726ad31bfeb4f07b8f8287d8ec46f
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Jun 14 17:07:11 2011 +0100
Properties: Generalise InitTypedAtom from InitAtom
Add InitTypedAtom, which does exactly the same thing as InitAtom, but
takes an additional type argument.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
commit 299a44cd2035e84859b9d6c84854064326f8d124
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Jun 23 10:58:43 2011 +0100
Bump minimum xorg-server requirement to 1.7
This means we can also drop support for pre-ABI v7.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
commit 05fb9b5f248aacb121997f02d7a6e7cbbfb5ed1c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Aug 25 09:50:27 2011 +1000
Bump to 1.5.99
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f5141b6c663d97f771fc7c86b32d8d43a1a003c0
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Jun 14 17:43:36 2011 +0100
Shuffle include order around
Group X protocol/server includes together, and synaptics-internal
includes together.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
commit 98e8481cf4911506403b8963fc32c61a74cf679e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Aug 19 15:57:08 2011 +1000
Bump to 1.4.99.1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit dd6c51499e626b1bc3ddd82949691efa667ff1c4
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jul 28 11:02:45 2011 +1000
syndaemon: Remove superfluous message.
toggle_touchpad() already prints if we're running verbose.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit ba53d850252165ba96e7abc6e7dd0648b40ee37b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jul 28 10:57:12 2011 +1000
syndaemon: document exit codes and change them to fall into categories.
Changing pid file creation failure to same exit code that fork() failure
uses.
Changing XRECORD init failure to unique code. This way clients can trap
exit code 4 and re-start syndaemon without the -R flag.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 8d0d011cda37f5202ee0de76ef1ada8643624919
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jul 28 10:44:42 2011 +1000
man: remove documentation for -s switch, SHM is gone.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 72d5b4886927aee5fbc871b5c3d0300be92d8ecc
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jul 28 10:43:38 2011 +1000
man: document syndaemon -m switch
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit ca3e0b33d02a6a86b156008216bf94042b81ce71
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Thu Jun 30 11:10:04 2011 -0400
Add distcheck support for configuration files when dir is not writable
Provide a user writable location for configuration files.
Many values will work, but preserving the semantic by using
a value based on the server default value is more helpful.
The configdir automake variable and the pkgconfig sysconfigdir variable
should not be confused with the sysconfdir automake provided
configuration option which default value is $prefix/etc.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit e3d5c397965a017afd2288e7f991920edb50cee4
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Thu Jun 30 10:15:24 2011 -0400
Add distcheck support for header files when sdk is not writable
During distcheck, a writable location is supplied for the install test.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit ce1c4ce6798e956e3fa68c68fde7b7900319bc31
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Mon Jul 11 08:02:39 2011 -0400
tools: remove unrequired sdkdir include directive
Now that xserver-properties.h is no longer included,
the path to the xserver header files is no longer needed.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 513d40f7c442f78574e8c71c9895106c3f8eab74
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jul 5 09:48:01 2011 +1000
tools: don't include xserver-properties.h
Remove the header inclusion to avoid dependency of synclient on the xserver
headers. The only property we need from the server is FLOAT and we can
simply define that here.
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9d30992ef7e0f3e6efa93431551681660e6295d2
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Jun 28 17:14:00 2011 -0400
Revert "build: sort building of tools, ensure that cross-pkg-config works."
This reverts commit 4005df66072ceac175ea71427deb16176262f197.
The patch introduces a couple of issues.
1) These tools are apps and conceptually do not depend on Xserver,
so XORG_CFLAGS should not be used. It included pixman header files.
Only drivers depend xserver
2) XORG_CFLAGS may contain, depending on the platform, a compiler
visibilty flag. Compiler flags cannot be assigned to AM_CPPFLAGS
preprocessor flags variable.
There were two changes introduced by the patch.
1) Possible wrong order of include directives
The commit text does not mention which paths may be in the wrong order.
2) Incorrect usage of AM_LDFLAGS
The patch does not really change anything. If the intention was for the tools
to link directly to the libraries, it would look like:
LDADD = $(top_builddir)/src/libpciaccess.la # scanpci example
This is only possible for libraries built in the same package.
There is nothing wrong in putting -l -L flags in LDADD, but should there
be other flags, LDFLAGS would be required, ending with two variables.
It looks easier to revert the patch to the previosuly known good version
which has been in service for a year.
Unfortunatly, the reversal breaks distcheck as it removes an unsuspected workaround.
The value of sdkdir during distcheck points to an empty xserver sdkdir
where xserver-properties.h is expected by the tools.
Specifying XORG_CFLAGS worked around the issue by supplying the real path
to the xserver sdk.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit cb6818b6230ca43ddaabfb8f16feaef9ae3ef68e
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Jun 28 17:13:30 2011 -0400
Revert "build: collapse all Makefile.am files into a single non-recursive one."
This reverts commit 39afe69ad7d2258d4043044d1283bd6e311e48da.
1. For such a small module, the build time improvement is most likely
negligible. At least, I'd like to see some timings proving it's
worthiness before seeing the patch go back in.
2. This kind of change would need a thorough review. The need to
operate the build from a single toplevel Makefile is a significant
change. The two most noticeable issues for me are that collapsing all
the Makefiles could easily cause namespacing issues with the
variables, and operating on files outside the current directory can
introduce subtle bugs. I feel that the non-recursive style is
generally less robust than the standard recursive make scheme.
3. It's unlike all the other X.org modules. This isn't a showstopper
for me, but the recursive style is well understood here and you've
beaten all the modules into a consistent format that makes build bugs
unique to specific modules less likely.
Acked-by: Dan Nicholson <dbn.lists@gmail.com>
To give a concrete example for #3 above, the 175 man pages are much
easier maintained using a very similar makefile in the man directory
of all X.Org module.
The cost of maintaining a single makefile is much higher. Every target
in the makefile has to be reviewed and tested when changes are made.
Not everyone has the all the skills to handle widely different targets
such as man pages, DocBook/XML, librairies, C code, distribution hooks,
and so on.
Acked-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit bb604aca58f9c718601a22290176e201e92d36ab
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Jun 28 17:11:24 2011 -0400
Revert "build: install documentation as part of make install."
This reverts commit d27b4e560ccf61b94f067156c6d5c1e3d3e5e1eb.
ChangeLog is generated from git and should be created at dist time only.
The original patch creates it at make time multiple times and fails
when user permissions change such as when using sudo.
Some have expressed a desire to install files such as ChangeLog and README.
This reversal does not dismiss the idea, but simply reverts a non-essential
change that happens to have an implementation bug just before making a module
release.
Anyone is welcome to promote the idea in the context of the X.Org project
where all modules would exhibit the same behaviour. The current behaviour of
ChangeLog, although not perfect, has been thoroughly reviewed and widely
accepted for several years.
As for the files in docs, they should be re-submitted for reviews to determine
if they constitute users docs that should be installed as opposed to
developers docs which are not.
Reported-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 9803edca13ed5b2531db71b1a151525733a6dd40
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Jun 28 17:10:45 2011 -0400
Revert "build: create object files following the sources' structure."
This reverts commit dac624ad2b3a67ab93c11d8ee0a91b217fc1afe6.
Acked-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 414a6aac17d3afeed2db30f7990edbb81b244676
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Jun 28 17:10:21 2011 -0400
Revert "build: apply the distcheck tricks used in xf86-input-evdev"
This reverts commit 6eb829e07e455a8a04dabae7f257dd42a9b8bcdf.
Althought this feature is desirable, it introduces a dormant bug.
The value of sdkdir during distcheck points to an empty xserver sdkdir
where xserver-properties.h is expected by the tools.
Specifying XORG_CFLAGS for the tools worked around the issue by supplying
the real path to the xserver sdk. tools must not depend on xserver.
In any case it would be a brittle workaround.
--with-xorg-conf-dir='$${sysconfdir}/xorg':
althought this value will work, it brings some confusion as it is
unrelated to the where the configuration files are normally placed,
relative to $prefix which is /usr/share/X11 and not /etc.
This feature can be reintroduced later with the proper solution.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit a0b7f755e925194b8245d580182fede9ee197985
Author: Daniel Kurtz <djkurtz@google.com>
Date: Mon Jun 27 14:35:31 2011 +0800
conf: fix snippet to ignore /dev/input/mouse* on Linux
Added '*' to match any and all mouse devices.
Signed-off-by: Daniel Kurtz <djkurtz@google.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit dfee7c3f99c1ac5aeba7feed96f30b6b96739c73
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue May 31 13:51:53 2011 +1000
Replace xf86Msg with xf86IDrvMsg
xf86IDrvMsg automatically logs driver and device name.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f37c67fc6ca929aabc3ad47d5294efb0a58c0644
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue May 31 13:04:01 2011 +1000
conf: add snippet to ignore /dev/input/mouse* on Linux
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit de8c3a5430c71d3a52d2dc3362743b791256d847
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri May 27 16:56:57 2011 +1000
Export device node as property.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 77b0ed05d29b8f71784af60fe56b111b91c7107f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue May 24 10:57:32 2011 +1000
Initialize the vendor/product id property if we know either.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 0d0ba35951cbbb092ae0f5bd559d7daacb5b77e8
Author: Patrick Curran <pjcurran@wisc.edu>
Date: Fri May 27 11:11:44 2011 -0500
Modified start_coasting to handle circular scrolling
Calculate the angle speed when circular scrolling is on and coast based on
that speed instead of the previously used vertical scroll speed.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=30756
Signed-off-by: Patrick Curran <pjcurran@wisc.edu>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 6eb829e07e455a8a04dabae7f257dd42a9b8bcdf
Author: Diego Elio Pettenò <flameeyes@gmail.com>
Date: Wed May 25 18:16:22 2011 +0200
build: apply the distcheck tricks used in xf86-input-evdev
With this change it is possible to complete "make distcheck" safely on the
module, as it no longer tries to write to system directories.
Since synaptics also installs a configuration file, xorg-conf-dir also
needs to be overridden during distcheck.
Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit dac624ad2b3a67ab93c11d8ee0a91b217fc1afe6
Author: Diego Elio Pettenò <flameeyes@gmail.com>
Date: Wed May 25 16:10:49 2011 +0200
build: create object files following the sources' structure.
This allows building object files following the same subdirectory structure
as it was used before with the recursive build system, while keeping the
build non-recursive.
Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 8bb3786fead14c36fbfb6320e886e3a0e878b29f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue May 24 10:55:13 2011 +1000
Use struct input_id as return value for EVIOCGID
struct input_id is an array of 4 ushorts so there is no real change in
functionality.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit be83094bd98c353b0ee7894eefcb1ae91e0cae30
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon May 23 10:18:22 2011 +1000
syndaemon: don't compare against a null-property. (#37459)
synaptics_property is not set, touchpad_off_prop is the property we need to
check against.
False check for (nprops != 0) instead of (nprops < 0) would result in
syndaemon always reporting a touchpad device, even if none are present.
X.Org Bug 37459 <http://bugs.freedesktop.org/show_bug.cgi?id=37459>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 33775253a01324001aebaadfaa2558b4b738075e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon May 23 10:14:08 2011 +1000
syndaemon: add vim snippet for right indentation/tabstop, etc.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit e4958186fae78770bc739be701b849f28c87cf11
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon May 23 10:12:42 2011 +1000
syndaemon: fix abysimal indentation in dp_get_device.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 0c8971c80c21d7541d9614ac67a8d4954d4859ec
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 19 09:45:10 2011 +1000
include: update documentation for capabilities property
pressure and width were added recently
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 8ad40444596259b8b5b60ae4069e94875253c21a
Author: Christoph Brill <egore911@egore911.de>
Date: Tue May 17 08:08:08 2011 +0200
Update maintainer information
There is no distinct maintainer for synaptics but everything should go
to the list.
commit 0c0e3e3df6af54777e47550e555e76c787f6f0a4
Author: Diego Elio Pettenò <flameeyes@gmail.com>
Date: Sat May 14 03:34:26 2011 +0200
README: fix typos.
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit d27b4e560ccf61b94f067156c6d5c1e3d3e5e1eb
Author: Diego Elio Pettenò <flameeyes@gmail.com>
Date: Sat May 14 03:30:15 2011 +0200
build: install documentation as part of make install.
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit 39afe69ad7d2258d4043044d1283bd6e311e48da
Author: Diego Elio Pettenò <flameeyes@gmail.com>
Date: Sat May 14 03:14:56 2011 +0200
build: collapse all Makefile.am files into a single non-recursive one.
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>
commit 4005df66072ceac175ea71427deb16176262f197
Author: Diego Elio Pettenò <flameeyes@gmail.com>
Date: Sat May 14 03:00:02 2011 +0200
build: sort building of tools, ensure that cross-pkg-config works.
Without this change, cross-pkg-config could bring up the wrong paths to
$includedir/xorg, but also fixes linkage to not use LDFLAGS where LDADD
should have been used.
Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com>
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit 4d4c4d0ff5a381a5d574845cf72673f9fee43734
Author: Diego Elio Pettenò <flameeyes@gmail.com>
Date: Sat May 14 02:43:58 2011 +0200
build: report a fatal error if XORG_DRIVER_CHECK_EXT is undefined.
Just to give a bit of an idea of what the problem is when configure fails
later on.
Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com>
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit ec791423531a12129358a2e10b4f9b4721fcd761
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sun May 8 11:56:25 2011 -0700
Fix "nose canellation" typo in man page
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit bdc9c7cf9767bda77c690cb4211f6f6cb4567748
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Fri Apr 15 15:29:57 2011 -0400
Drain XRecord connection of any events after handling replies
If the X server sends an event to the XRecord connection the event
will never be handled. This will cause the event queue to fill up in
Xlib and lead to syndaemon running away at 100% cpu usage.
This change drains any events from the connection. It's not a fix for
the underlying bug in the server or Xlib, but it does paper over the
issue for now.
https://bugs.launchpad.net/bugs/754470
http://bugs.freedesktop.org/show_bug.cgi?id=31921
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit fe05c60fee1f8fc24cc6cc2af7027d897607af2a
Author: Cyril Brulebois <kibi@debian.org>
Date: Thu Apr 14 05:38:25 2011 +0200
Fix egde/edge typo in manpage and comments.
Debian bug #622663 <http://bugs.debian.org/622663>
Signed-off-by: Cyril Brulebois <kibi@debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 26a9416f48a35fb375ea6bd4363f9b7ab2cc0acd
Author: Trevor Woerner <twoerner@gmail.com>
Date: Sun Apr 10 22:03:13 2011 -0400
Add 'include' directory for test.
The binaries in the test directory won't build successfully for me
without adding this include path.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4aa16879bd5084f061a55e5b8a0754e1b037212a
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Fri Apr 1 15:21:35 2011 -0400
Revert "Default to 2-finger emulation when HW supports it"
This changes the default behavior for trackpads that have only pressure
information to emulate two finger actions. It's been reported that the
default value is too low and/or that the pressure values may fluctuate
with environmental factors (temperature, humidity, etc.). When the
value is wrong, spurious right clicks and scroll events are triggered.
Fixes: http://bugs.launchpad.net/bugs/742213
This reverts commit ffa6dc2809734a6aaa690e9133d6761480603a68.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 2898098469457a0d7c3d3610065ccc75c46bdfa0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 22 11:51:48 2011 +1000
Only build tests when unit tests are enabled.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
commit 99822503c8991ebf4eed3390904b5e62b0775d31
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Mar 21 10:24:21 2011 +1000
test: add another test to ensure HW state changes on known values only.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit be52f449c148028ee912aa12ea9a91ed28590a9e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 20 11:02:45 2011 +1000
test: Add some tests for HW state changes.
Includes basic finger counting test, some button tests and axis tests. These
tests simply check that the HW state changes reflect the events pumped in.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9290ce357b5063e8170f28282711718794a3c2d0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 18 20:34:38 2011 +1000
Add basic framework for unit-testing.
Also adds a bunch of fake symbols so we can link. Note that any of these
symbols will return false, 0 or whatever the zero value for the symbol is.
Care must be taken when writing test that this doesn't screw up the test.
Tests are always built but only run on make check.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit bc89d7db428dbf38a9f0f9b5f5e8efd1afae71f1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 18 20:26:18 2011 +1000
Require macros 1.13 for unit testing
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
commit 241254e352f5c4e3d6850e0916261cb235c6b608
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Mar 21 11:23:34 2011 +1000
Don't autoprobe for devices when Option Device is set.
If only Option Device is set but no protocol, the code calls into
AutoDevProbe. eventcomm (the only backend with an AutoDevProbe) then runs
through all /dev/input/event devices and takes the first one it can find.
If two touchpads are connected on a system, this may cause the same touchpad
to be added twice and the other one not at all - even though the device path
is specified. (This can only happen when the event device is not grabbed,
otherwise the grabcheck prevents the touchpad from being added twice)
Pass the device option into AutoDevProbe and check that device first. If it
is a touchpad, finish with success. If it isn't, fail AutoDevProbe.
Introduced in dce6006f6a851be4147e16731caa453dd0d1ec1c.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
CC: Alexandr Shadchin <alexandr.shadchin@gmail.com>
Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
commit f65f8a8365b158cbdb6cdc3f74afc08a2653c084
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Mar 21 11:14:50 2011 +1000
eventcomm: fix indentation in EventAutoDevProbe
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
commit 3277733209180d94f67be8019178424dbe17fc5b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 20 10:33:57 2011 +1000
eventcomm: move need_grab into a proto-specific struct.
Don't just assign a BOOL to proto_data, use a struct for readability.
This changes nothing in the code, especially since need_grab is always
false.
The current code assumes that if a proto_data field is present, we respect
the need_grab from this field. Otherwise, we always try to grab.
need_grab is however always FALSE, so all this is mostly for readability, if
not necessarily understandability...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 810423b51706ea26c6794eaf6cd51fcbb56386ad
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 20 10:22:18 2011 +1000
eventcomm: untangle state setting from printing device info
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
commit dacac616305cc38cab082607c0e40c109cb8422e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 20 10:14:05 2011 +1000
eventcomm: print an error when axis range failed.
Judging by a quick google search, this isn't a common error that the user
will see, it's a bug. So print out information useful for those
triaging/debugging.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
commit a0aa59ed5d0ab07702c3bc56cf5651d193e553a7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 20 10:09:56 2011 +1000
eventcomm: streamline absinfo retrieval.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 2122ad2f17c0efed016d41178e2da9d3eeba84fd
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 20 09:46:26 2011 +1000
eventcomm: rewrite event_query_info to something more sane
Instead of passing in a magic struct and set fields in that struct, pass in
the fd that we query and return the queried value. Let the caller deal with
the information accordingly.
And document the lot.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
commit 7b2d245ee1ecc3793f29dbf2761ef1ab73a577e5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 20 09:38:13 2011 +1000
eventcomm: document event_query_is_touchpad
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
commit a16e51c4aca95b35d929b059dc027bb0fec5405d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 20 09:36:52 2011 +1000
eventcomm: rename parameter name grab to test_grab
We don't permanently grab the device here, we just check whether a grab is
possible.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
commit 13543b156d78bc4d01a19844a5ee8f283269621b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 20 09:28:45 2011 +1000
eventcomm: replace synaptics-custom TEST_BIT with server's BitIsOn.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
commit adf3e8a5f9e3efc7e7a5d4148cf509f00cade9e0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 18 21:36:19 2011 +1000
eventcomm: extern EventReadHwState to allow for testing.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
commit 453c5bf6ec0de358ec845946835fcb738cf9af80
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 18 21:06:16 2011 +1000
eventcomm: factor out finger counting.
one, two, three, many.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
commit ecf42db47629cadc7a332398a1784bb0acbd6511
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 18 20:56:51 2011 +1000
eventcomm: add a missing break statement
If the EV_SYN wasn't SYN_REPORT, we'd fall through to key event processing,
which almost certainly won't do what we want and/or need.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
commit b7acee2346494846e80d2fe25f699081a51c49a2
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 18 10:34:03 2011 +1000
conf: add a descriptive header with warning to example config file
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit bc01d6a88ae84a0b1e52b8feb93c168d5120cd58
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 18 10:40:50 2011 +1000
conf: remove SHM example from fdi
SHM is dead for configuration.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 5f546777173dc78146025499d186fe97d31eaeac
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 18 10:29:37 2011 +1000
man: add short blurb about InputClass configuration in servers 1.8
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 86cab92b41443a5c9391b3bb20c93d902cf67961
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 18 10:26:37 2011 +1000
man: update source path for fdi file and shorten description.
Don't describe what the example config file does in the man page, let the
file speak for itself. Point out that fdi files are for servers 1.5 - 1.7
only.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 43c3720cc218c0c4c36482f01bbb8aa2c42480aa
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 18 20:25:57 2011 +1000
Bump to 1.4.99
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4ebde557aee7953f766fcd6b725cbacd47f806ec
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 18 16:24:28 2011 +1000
Revert "Add synaptics orientation support"
This patch needs more work before we can ship it.
This reverts commit 049d5fb6037b34d94b24cb8300849cf4e3b67437.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d521fc0335e9a6527d337154e064d192ab006425
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Mar 7 10:09:26 2011 +1000
Remove unused test directory (#35043)
The two files are for testing the actual synaptics protocol, a task that is
handled by the kernel these days. These haven't been built for years either,
suggesting limited use.
X.Org Bug 35043 <http://bugs.freedesktop.org/show_bug.cgi?id=35043>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
commit 0662e1c18122768549e51baf9ce3649c57ff0528
Author: Christoph Brill <egore911@egore911.de>
Date: Wed Mar 9 23:25:05 2011 +0100
Add note about MatchDevicePath
This question seems to pop up very often. Add a note pointing to Peter's
blog entry describing the details of this misconfiguration.
commit 049d5fb6037b34d94b24cb8300849cf4e3b67437
Author: Aapo Rantalainen <aapo.rantalainen@gmail.com>
Date: Wed Mar 9 21:32:36 2011 +0100
Add synaptics orientation support
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>
commit d6fc5be2969b9eede3c0fdd6e03daec4100a8c9f
Merge: de0dfb7 cf451f3
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 4 12:47:00 2011 +1000
Merge branch 'next'
commit de0dfb76444ad4160468d00515876c91a9fa20bf
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 4 12:36:24 2011 +1000
synaptics 1.4.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit cf451f34e3bdd52a4eb072ce9f4b514eb83a1cfc
Author: Alexandr Shadchin <alexandr.shadchin@gmail.com>
Date: Mon Feb 28 16:38:29 2011 +0500
Now ps2comm and alpscomm backend optional
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit dce6006f6a851be4147e16731caa453dd0d1ec1c
Author: Alexandr Shadchin <alexandr.shadchin@gmail.com>
Date: Mon Feb 28 16:38:28 2011 +0500
Rewrite mechanisn to detect Protocol and Device
Made SetDeviceAndProtocol() does not depend on the protocols,
it will make it easier to add new backend.
New behavior SetDeviceAndProtocol:
1) If not set Device or Protocol, then try AutoDevProbe
2) Otherwise, look for the appropriate protocol (Device and Protocol must be set)
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit ae19da1266642aa0ba5838e525b2878c1bef49c2
Author: Alexandr Shadchin <alexandr.shadchin@gmail.com>
Date: Mon Feb 28 16:38:27 2011 +0500
Remove extra definition CommData
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 00abf2c63cf1613c3a65d561582e9fd8abc2f34a
Author: Alexandr Shadchin <alexandr.shadchin@gmail.com>
Date: Mon Feb 28 16:38:26 2011 +0500
Remove arg proto_ops in ReadHwState()
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 8e6d67243375539f417f7a19e349c6546ce3be64
Author: Alexandr Shadchin <alexandr.shadchin@gmail.com>
Date: Mon Feb 28 16:38:25 2011 +0500
Renamed SynapticsHwInfo in PS2SynapticsHwInfo
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9638020709ab45198933a703390a7429e8d38767
Author: Alexandr Shadchin <alexandr.shadchin@gmail.com>
Date: Mon Feb 28 16:38:24 2011 +0500
Move definition struct SynapticsHwInfo in ps2comm.h
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3de53de7d663c56284b15e37a3e0f2099dbea6a5
Author: Alexandr Shadchin <alexandr.shadchin@gmail.com>
Date: Mon Feb 28 16:38:23 2011 +0500
Delete empty alpscomm.h
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b3322177155fccefb93fdd325dc2c3f8c5eb9f65
Author: Alexandr Shadchin <alexandr.shadchin@gmail.com>
Date: Mon Feb 28 16:38:22 2011 +0500
Removing extra call SetDeviceAndProtocol()
SetDeviceAndProtocol() calling in SynapticsPreInit(), extra calling
in DeviceOn() unnecessary.
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c731f5878b516d2ff613c74305473cdfc3ee0794
Author: Alexandr Shadchin <alexandr.shadchin@gmail.com>
Date: Mon Feb 28 16:38:21 2011 +0500
Renamed SynapticsDefaultDimensions in SanitizeDimensions
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 6ac0572951fa7883bbbe781884cdade2c4537760
Author: Alexandr Shadchin <alexandr.shadchin@gmail.com>
Date: Mon Feb 28 16:38:20 2011 +0500
Simplified mechanism for determining default size
Now SynapticsDefaultDimensions() called only once
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3c598daec845ff6ef4ba0769ad78a0d562effe29
Author: Alexandr Shadchin <alexandr.shadchin@gmail.com>
Date: Mon Feb 28 16:38:19 2011 +0500
Fix typo (resx -> resy)
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit fefb3b63c589b0758c02777e652f05e537ba663f
Author: Julien Cristau <jcristau@debian.org>
Date: Fri Feb 25 20:41:12 2011 +0100
Fix build on BSD
local was renamed to pInfo in 81ad2e389d11691d5c2687d83150e8e9033cfe76,
but a couple places were missed.
Signed-off-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 8ec84d1850fe801fa9a123ae70e09821a4358389
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Feb 21 12:57:21 2011 +1000
synaptics 1.3.99.901
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit ee99d4f7bc3374e8bac083ac4ea159f5da43db06
Author: Daniel Kurtz <djkurtz@google.com>
Date: Mon Feb 14 22:08:41 2011 +0800
Stop scrolling if not exactly two fingers on touchpad.
X.Org Bug 34257 <http://bugs.freedesktop.org/show_bug.cgi?id=34257>
Signed-off-by: Daniel Kurtz <djkurtz@google.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7771bc91c989d1ac6f6147f2b26e5d7e70555856
Author: Simon Thum <simon.thum@gmx.de>
Date: Mon Feb 21 11:55:17 2011 +1000
add a few comments to ComputeDeltas()
Signed-off-by: Simon Thum <simon.thum@gmx.de>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Conflicts:
src/synaptics.c
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f2f19be03d62b45e51e7fa55b24ed14fec3ba4d2
Author: Simon Thum <simon.thum@gmx.de>
Date: Thu Feb 10 13:30:07 2011 +0100
add some acceleration-related info to the man page
Signed-off-by: Simon Thum <simon.thum@gmx.de>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4a1f524fcbc47e6af772f82dffa6286eea43e460
Author: Simon Thum <simon.thum@gmx.de>
Date: Thu Feb 10 12:33:04 2011 +0100
reshuffle details on acceleration in the man page for increased readability
Signed-off-by: Simon Thum <simon.thum@gmx.de>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 91c85a7d010728bf493e77527984024660eb2b6c
Merge: cc26edf 442527d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Feb 21 11:47:46 2011 +1000
Merge branch 'devel' into merge
Conflicts:
src/synaptics.c
commit cc26edfba13216ceda02d9d352643535ba359e5e
Author: Simon Thum <simon.thum@gmx.de>
Date: Sun Feb 6 17:57:17 2011 +0100
Add hysteresis-based noise reduction
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>
commit 442527d44a07eceaf6d8b33f4b469e36afc0dcc5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 9 16:03:36 2011 +1000
Factor out edge speed calculation.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
commit a785b831a6cdb14ea1c11b894cc1a84aea4a37fd
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 9 16:00:10 2011 +1000
Factor out delta calculation into a static func.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
commit 736b32cadd55b05d67c4988bec96dc8df7ebb51c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 9 15:55:41 2011 +1000
Move delta calculation for trackstick out.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
commit f2cbd47caebd85904dd0c480d9a3128c55fec56c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 9 15:52:45 2011 +1000
Reshuffle ComputeDeltas for less indentation.
No functional changes, just moving out of double-nested conditions.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
commit 5aaeea79eea98705fbbbea363a7ee4be1eeed827
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Oct 8 11:56:57 2009 +1000
Don't expect a palm based on pressure (#22806)
If the first touch on the touchpad is above palm_min_z, the palm detection
unsets the finger status ("probably palm"). Don't do that, for low values of
palm_min_z this disables the finger during normal use of the touchpad.
X.Org Bug 22806 <http://bugs.freedesktop.org/show_bug.cgi?id=22806>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f34ee8e8ac68c3fdff38d084f175106a3415f3a5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Feb 8 11:46:46 2011 +1000
syndaemon: reset idle time if the system time has changed (#31968)
If the system time is changed backwards while the touchpad is disabled
through syndaemon it remains disabled until the time catches up with the
previous idle time again. Avoid this by resetting last_activity with a time
that will trigger re-enabling of the device.
X.Org Bug 31968 <http://bugs.freedesktop.org/show_bug.cgi?id=31968>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 311e54594a7dbacf241c046626139a260716ba31
Author: Nicolas Cavallari <batchman@free.fr>
Date: Sun Jan 23 16:14:48 2011 +0100
synaptics: detect corner tap using the initial touch position
Currently, when detecting a tap release, the corner tap detection
uses the current touch position to figure out which corner it
corresponds. The problem is that, theoretically, there is no such position
because there is no touch. It work in mosts cases because most touchpad
are fast enough to still have a position on release, but some aren't.
In that case, the driver do corner tap detection using the position
given by the hardware when there is no touch, that is, (0,0), (1,5855)
or whatever. The driver will detect them as corner tap, regardless of
the initial touch position. On the default configuration, corner taps
are ignored, so basically, these tap are not working.
This patch make tap detection use the initial touch position to
detect corner taps.
Signed-off-by: Nicolas Cavallari <batchman@free.fr>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 0e27ce3ad7493ec28bde421a61c8a6e8d147efb6
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sun Jan 16 12:57:15 2011 -0800
syndaemon.c: Add #include <string.h>
Solaris FD_ZERO is defined using memset, but <sys/select.h> doesn't include
<string.h> itself, leading to compiler warning:
"syndaemon.c", line 404: warning: implicit function declaration: memset
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 5c98205e025adaf2aa4d99b71cb4581963076a04
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sun Jan 16 12:57:14 2011 -0800
synclient.c: Replace old index() function with C89-standard strchr()
Fixes Solaris compiler warnings of:
"synclient.c", line 152: warning: implicit function declaration: index
"synclient.c", line 152: warning: improper pointer/integer combination: op "="
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit ca0f87eb2a7491048d49e6449b688c4fea245310
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Dec 8 11:15:09 2010 +1000
Rename SHM functions from alloc/free_param_data to alloc/free_shm_data
This naming is historical, we used to export the parameters through SHM.
These days it's just confusing.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
commit 07dbd6b85d806aa7ebb340f7f555d1992940f319
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Dec 8 11:08:55 2010 +1000
Don't report all options unconditionally.
While this is useful to see all options provided, it also lists options that
are not actually interpreted by the driver. Skip it, use xf86Set*Option()
instead to just report the options handled by the driver.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
commit 9b62f5c29152d59a894a463711737c52c97b5cbe
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Dec 8 11:08:03 2010 +1000
Dont report the version explicitly, it's reported in the module blob anyway.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
commit 2da93d9735b6951861043de8ea59c8ca1cea4f96
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Dec 8 11:05:51 2010 +1000
Use xf86SetStrOption instead of xf86FindOption for the Device
xf86SetStrOption reports to the log if found.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
commit b2cc4f5c4aa35fb13d96fafdbd907b6dba4b4796
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Dec 8 11:01:56 2010 +1000
Remove the need for XI86_CONFIGURED on input-ABI 12
Just move the assignment into an already if GET_ABI_MAJOR() block.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
commit 6f61aa776332b99e0d3cc035bff11d87d2735a47
Author: Alessandro Guido <ag@alessandroguido.name>
Date: Fri Dec 3 11:55:00 2010 +0100
syndaemon: decouple background mode from quietness
syndaemon currently outputs lots of stuff when not running in background mode.
However, current init daemons and session managers can manage to launch the
daemon in background without "-b" just fine (if not better), by doing the
fork() themselves. Indeed, if one uses that setup, ie. by having syndaemon
launched by GNOME at login, it gets the ~/.xsession-errors file spammed by
Enable/Disabled messages.
This patch fixes this by introducing a new verbose (-v) flag that enables those
messages and makes syndaemon quiet by default.
Signed-off-by: Alessandro Guido <ag@alessandroguido.name>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4d22aa06fd2b53e11233ebd3a25045cd96bf67ab
Author: Takashi Iwai <tiwai@suse.de>
Date: Fri Oct 8 19:22:29 2010 +0200
Fix 64bit arch issue in synaptics eventcomm.c
In C, "1" is an integer, not an unsigned long. Thus (1 << 33) doesn't give
you the 33th bit shift, but it's undefined.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 57193777374dd10a920171670a06b7e79d389703
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Oct 25 10:39:38 2010 +1000
Input API 12 requires a valuator mode for each axis.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 61aa201dabe9aa46dadd1a9dc08eadab878cd09c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Oct 18 09:47:20 2010 +1000
Remove convert_proc and close_proc.
Both aren't actually called by the server anymore.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 26d5eaeb6b9321ad1a794846333a60125df7317d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Oct 18 09:44:35 2010 +1000
Replace two LocalDevicePtr with InputInfoPtr.
ABI 12 removes the LocalDevicePtr define from the server, InputInfoPtr is
the replacement.
Compile error introduced in 0b28a4c046a30ccb83278ea0aa59541fad89092c.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit e2260fef76b08f782ab5640ae490d9b2da33c94b
Author: Joe Shaw <joe@joeshaw.org>
Date: Tue Oct 12 10:00:48 2010 -0400
don't post motion events if the finger state is FS_UNTOUCHED
Works around some buggy touchpads that report their position as things
like 0,0; 0,ymax; etc. at the same time as they turn off the finger
tool and/or touch indication. This is particularly a problem when
using the touchpad in absolute mode.
Signed-off-by: Joe Shaw <joe@joeshaw.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a7637b5b3782f6f7b8efadaa459e9e365701d88b
Author: Joe Shaw <joe@joeshaw.org>
Date: Fri Oct 8 15:20:42 2010 -0400
post absolute coordinate motion events if device mode is absolute
Signed-off-by: Joe Shaw <joe@joeshaw.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 0b28a4c046a30ccb83278ea0aa59541fad89092c
Author: Joe Shaw <joe@joeshaw.org>
Date: Fri Oct 8 15:20:41 2010 -0400
track abs/rel mode changes in SwitchMode() instead of ignoring them
Signed-off-by: Joe Shaw <joe@joeshaw.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a36976e7c9b1d408751a35caceef4fb64b6d7a1d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Oct 6 11:00:47 2010 +1000
Remove refcnt initialization from InputDriverRec.
Removed from the server with
commit 6130170e7e9b64c611ee942ec3455dd1a185193d
Author: Adam Jackson <ajax@redhat.com>
Date: Sat Sep 18 06:41:35 2010 -0400
xfree86: Remove unused refcounting from input drivers
And given that it was unused, we don't need to ifdef it.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f5687a6741a19ef3081e7fd83ac55f6df8bcd5c2
Author: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Date: Sun Sep 19 09:49:59 2010 +0200
config: don't autoprobe when device was set
If device was already set, we were asked to handle that specific device
and we should not go probing around. If we do, we might end up handling
a device different from what the X server thinks we are handling, with
dire consequences in case of hot plugging and unplugging.
Without this patch, a situation such as the following can happen.
A user has both a built-in laptop touchpad and a tablet such as the
Wacom Bamboo Pen & Touch, that is also exposed as a touchpad.
The tablet is plugged in before the server starts, and during setup the
server calls the synaptic driver for the /dev/input/mouseX device
corresponding to the touch device of the tablet; we end up in the
autoprobe path even though `device' was set, and the driver scans
/dev/input, where the first useful device it finds is the event device
for the built-in touchpad.
The driver starts managing the built-in touchpad, preventing future
instances from managing it too, while the server thinks the driver is
managing the tablet.
When the user disconnects the tablet, the corresponding instance of the
synpatics driver (which is actually managing the touchpad instead) is
unloaded: the built-in touchpad stops working in X.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f2039cb7fba41032ec87315a3a4511472a5ef0dc
Author: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Date: Wed Sep 22 21:44:13 2010 +0200
config: collect options during preinit
This must to ensure that the "Device" option is set correctly before
SetDeviceAndProtocol is called, but it's only needed when the old input
API is used.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 6f7daad930bbceb98a3bea537446b457a5f76246
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Sep 1 13:42:56 2010 +1000
Bump to 1.3.99
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f0623c56b91d1444ceb0f18a3b090a06bd6817a9
Merge: 1a9495a 81ad2e3
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Sep 1 13:42:37 2010 +1000
Merge branch 'input-api'
Conflicts:
src/properties.c
commit 81ad2e389d11691d5c2687d83150e8e9033cfe76
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jul 23 15:03:42 2010 +1000
Use InputInfoPtr instead of LocalDevicePtr.
The latter is about to be removed from the server, InputInfoPtr has been
around in all supported server versions.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b7dbe57332bd3d009ea60038f555ae1ef7e17e85
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jul 22 11:53:52 2010 +1000
Support the new input api.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 1a9495a74c41d956751177807602383ce4549c37
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Sep 1 09:04:11 2010 +1000
synaptics 1.3.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 33632e447b311950729350e5802b5b1ee9616677
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Aug 23 15:12:05 2010 +1000
man: use seconds² instead of seconds per second
Makes it hopefully slightly less confusing. Should have been amended before
the push but ENOTENOUGHCOFFEE.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7a741ddedab477baea21f3d8ce6390b7bf72399f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Aug 23 11:55:45 2010 +1000
synaptics 1.2.99.901
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 59151a548dcbac6f68e4f921b5c47aea4e5bc2a3
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Aug 20 11:09:04 2010 +1000
Enable coasting by default with a value of 20.
The default value for friction coasting makes coasting much more useful now
since it stops coasting after a while. Enable it by default, the man page
already claims a default of 20 anyway.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 56655fd15f676fea143f3963e23b464b275b2e77
Author: Patrick Curran <pjcurran@wisc.edu>
Date: Fri Jul 23 17:28:01 2010 -0500
Added "friction physics" so coasting can stop on its own.
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>
commit a6ca4d2523904b7ce49edc29ba408979bdf0d45e
Author: Chris Bagwell <chris@cnpbagwell.com>
Date: Wed Aug 18 22:09:45 2010 -0500
Reset X/Y hist on multi finger transition to fix jumps
Most modern touchpads track 1st finger during multi-touch. If first finger
is lifted then a jump will occur as X/Y transition to next finger location.
Resetting X/Y history as each finger is lifted will hide this transition.
Synaptics hw specs claim older hardware report X/Y values that are average
point between multi-fingers which can cause unwanted jump. Reset X/Y
history during transition to new fingers to hide this as well.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Tested-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b774a1dba2f1f45c94fe898fe8b5ce258cbcddfc
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Aug 19 14:25:29 2010 +1000
Increase the default acceleration factor.
With 4e0e53fcba6fd99d458df1905d055d63360155c0 the driver got it's own
acceleration mechanism. This slowed down the pointer movement a lot,
especially on ALPS touchpads. Increase the default acceleration factor to
accommodate for this.
The number itself is chosen through guesswork and informal tests.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Magnus Kessler <Magnus.Kessler@gmx.net>
Reviewed-by: Magnus Kessler <Magnus.Kessler@gmx.net>
commit 4b0003c3d4cee1f5c6675bde5701e2169959932a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Aug 19 14:22:03 2010 +1000
Up the precision of MaxSpeed and AccelFactor log output.
MaxSpeed usually has two decimals that matter, AccelFactor doesn't get
intersting until the second decimal, so print 3.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7acdbb7cf95299fda29d6bea691af925f5182749
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Aug 17 11:34:32 2010 +1000
synclient: don't print "missing" if a property doesn't exist.
Virtually all touchpads still in use have one or more properties missing
anyway. If it's not in the list, then it's missing.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a9d25b818d364594bfb761a996a86db002a7d4ac
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jul 22 11:44:35 2010 +1000
Reshuffle initialization in preparation for new input API.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4dd15cf37d388a720e502f364410c28f17e03ce6
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jul 22 11:42:38 2010 +1000
Add some ifdefs missing from XINPUT ABI 12
These flags are not used in the newer servers anymore. Define them locally,
remove the defines once we stop supporting server 1.9.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit e6f209d1aacef18e68eeede84c7bfca4c1c100c8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jul 22 11:41:35 2010 +1000
Remove XI86_POINTER_CAPABLE usage.
This is a write-only flag.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit abb448a253cb0b3003038fbaa1daa9494c396e8f
Author: Chris Bagwell <chris@cnpbagwell.com>
Date: Wed Jul 7 21:35:22 2010 -0500
Align EmulateTwoFinger* docs to current behavior.
This corrects man page to mention EmulateTwoFingerMinW
and EmulateTwoFingerMinZ are considered together. Old
man page read like driver would emulate two-finger even
if only pressure OR width (but not both) were supported.
Next, add note to align man page with patch that defaults
to enabling two-finger emulation on hardware that does not
support two-finger detection but does support pressure and
width detection.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit ffa6dc2809734a6aaa690e9133d6761480603a68
Author: Chris Bagwell <chris@cnpbagwell.com>
Date: Thu Jul 1 20:09:43 2010 -0500
Default to 2-finger emulation when HW supports it
Ideally, emulating 2-fingers should just work on hardware
were it can be supported. This patch is to do that.
Currently, emulateTwoFingerMinW defaults to 7. Most kernel
drivers do not support reporting finger width and so can't get above
MinW of 7. Synaptics devices hardcode width value to 5 when
hardware doesn't support width and 7 is a good threshold to detect
2 fingers on hardware that does. bcm7954 are only other devices
that report width and they support reporting DOUBLETAP and wouldn't
need emulation anyways.
emulateTwoFingerMinZ defaulted to a really high value so never
let Synaptics devices to emulate 2-fingers by default.
Changed default to a low value (same as FingerHigh) when hardware
doesn't support DOUBLETAP and supports width so emulations
will now work by default in all the right cases.
I'm working to get kernel to stop reporting ABS_TOOL_WIDTH unless
hardware really supports it. If that would have been behavior
in first place then we could also default to 2-finger scrolling as
well. Since its not reliable, we should continue defaulting to
side scrolling.
Config GUI's will want to now allow switching between 2-finger and edge
scrolling when new property indicates width is supported. GUI's should
also update the above MinZ and MinW's to values similar to our defaults.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit e2a247a76e21d9c0be7d537dbfc18df9f3b812fa
Author: Chris Bagwell <chris@cnpbagwell.com>
Date: Wed Jul 7 21:00:19 2010 -0500
Document Capabilities property additions in man
Documents has_pressure and has_width additions.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 75459b1c0bb85ce0bbeb4270114edddb30ff3b1b
Author: Chris Bagwell <chris@cnpbagwell.com>
Date: Mon Jul 19 19:30:14 2010 -0500
Expose width support in capabilites properity.
Some properties are only valid with hardware supports
width. Namely, *MinW properties. Config GUI's may
wish to disable/grey out options related to width support.
This combined with pressure property is good indication when
2 finger scrolling can be supported using emulation.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 51e9bb815812469f39ad47f723d842bf1893a109
Author: Chris Bagwell <chris@cnpbagwell.com>
Date: Wed Jul 7 20:40:52 2010 -0500
Expose pressure support in capabilities property.
Some properties are only valid when hardware supports
pressure. For example, the *MinZ and *MaxZ options.
Config GUI's may wish to disable/grey out config
options related to pressure since not all hardware supports
it. This will allow for that.
Also, change setting of priv->has_pressure to boolean
value so its value will always fit in 8-bit that
properities report.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit cc9d34155297a85fb214d76d4fc45f26cf41f5f3
Author: Chris Bagwell <chris@cnpbagwell.com>
Date: Thu Jul 15 21:44:03 2010 -0500
Make default checks for x, y, w, and p separate.
Some input devices will not return any ranges and
current code seems geared towards those. It assumed
if invalid X/Y ranges then that was only case for invalid
W and Pressure.
Synaptics kernel drivers have been returning valid
X/Y/Z values but invalid 0/0 values for P.
Split up checks to allow setting defaults for any combination
of unspecified or invalid values.
I also think there was a bug in older code. It seemed odd
it was checking minx > maxx but miny < maxy. I changed both
to ">=" so that it also catches kernel reports of 0/0 and
logically invalid ranges (i.e. 6/6 or 9/1).
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit df9b639cef416ce694aa0be1592f99a41a0ea554
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jun 23 09:53:02 2010 +1000
Remove one leftover xcalloc.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3e9753f09699a40b33dadb1739949d2cd6c48611
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jun 17 11:17:41 2010 +1000
Bump to 1.2.99.1.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b19e3782a77c171ca20fc962f95923495fdb7978
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jun 17 11:23:15 2010 +1000
Purge GuestMouse support.
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>
commit 2c8ba519471cf1a4d0ab0f2cac61359426eaa0c7
Merge: bef44f0 22a2c7f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jun 17 11:15:44 2010 +1000
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-synaptics
commit bef44f01603e1a337b9dc08b5dd37664f9237bab
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jun 16 10:35:20 2010 +1000
synclient: allow Min|MaxSpeed values of > 1.0.
With the new accel mechanisms, the old ranges don't apply anymore.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a3c38206ed242040c4cbb79377490d8dfa48d5ac
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 15 16:03:41 2010 +1000
Require server 1.6 or later.
Remove ifdef's for server ABIs up to including server 1.5. Driver still
supports 1.6, 1.7, 1.8 and the upcoming 1.9.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit fe15f60ef2742f9fb9dffe2bc1f4bcd2f296b37b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 15 15:09:53 2010 +1000
Re-use width/height variables.
No functional changes.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 832dfd03bb3eb6b8291aba2b70fd0faf2e1976a5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 15 15:06:34 2010 +1000
Reshuffle default value initialization.
No functional changes, just code structure. The eventcomm backened is the
only one with a real probe function right now. So provide a default query
proc that reads the touchpad coordinates in. The values provided are the
ones that then will give us the right edge settings in concordance with the
default we had before.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 22a2c7feb18a18a700a736c3f4a65951dbebe990
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Fri Jun 11 14:22:06 2010 -0400
config: add comment regarding MAN_SUBSTS variable usage
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 078bad1582d7fc9a77e00d131bb32bf9d69d2a42
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 15 15:01:16 2010 +1000
Move some defines to where they belong.
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>
commit 7b97f9869983a47678188d0df1a209ffc35150db
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 15 14:24:05 2010 +1000
Support percent values for area.
AreaTopEdge and the other three can be specified as either an absolute
value, or as a percent of the matching dimension.
Option "AreaBottomEdge" "80%" will thus set the bottom edge of the input
area to 80% of the height of the touchpad, with the lower 20% being the dead
area.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
commit 8b3717055ab5c8d52bf5aae13e996ab4e86c2794
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 15 13:57:11 2010 +1000
man: don't call it "synaptics" touchpad driver.
Under Linux the kernel handles everything, so these days synaptics is the
generic touchpad driver for anything that the kernel can handle. There
aren't many synaptics-specific bits in the driver anymore.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
commit 857d579de808a95e3c8541847ec8a8845ca57c73
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 15 13:54:16 2010 +1000
man: note where the Area options fit in.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
commit f42fa446c4c0a2de92c1b5320dc8dcd0c18907e5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 15 13:48:46 2010 +1000
man: move area description down to CONFIGURATION DETAILS section.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
commit 78df6c5da2792a333a7aac899329517032f2f2f8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 15 13:46:54 2010 +1000
man: divide up man page with a few subheaders.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
commit 1f2b54cd57e88b706b6b2874547eabd1a8ab0963
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 15 10:16:38 2010 +1000
man: update SHMConfig documentation, it's only useful for debugging now.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
commit 69097acf352464a04ca315c80f7cf855f8656ede
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 15 10:49:17 2010 +1000
Don't allow anything but relative mode.
We did this before already anyway, make it official and return an error to
the client as appropriate. Touchpads in absolute mode are somewhat useless.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
commit f07e1e1cbe199721f99c027843facf4e55172fa2
Author: Simon Thum <simon.thum@gmx.de>
Date: Tue Feb 16 09:57:03 2010 +0100
Mulitply dix acceleration into synaptics maximum.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 6e346388f822e90f61b92a2344e821880876a2ea
Author: Simon Thum <simon.thum@gmx.de>
Date: Mon Feb 15 13:28:17 2010 +0100
Accel: retain para->accel scale.
In case people have modified their synaptic accel settings, it's
preferable to retain the settings scale.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4e0e53fcba6fd99d458df1905d055d63360155c0
Author: Simon Thum <simon.thum@gmx.de>
Date: Wed Sep 9 14:41:08 2009 +0200
Setup pointer acceleration for synaptics
Setup dix pointer accel from the synaptics driver so synaptics devices
behave like before while benefiting from dix velocity approximation.
This fixes the longstanding issue with synaptics being
accelerated twice, in different layers and different algorithms.
The pressure-dependent synaptics acceleration is now performed in
the device-specific profile.
Signed-off-by: Simon Thum <simon.thum@gmx.de>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3c26383af55b6b3599666cfa9693ec04aaecef02
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jun 7 11:28:42 2010 +1000
Revert "Setup pointer acceleration for synaptics"
Merged the wrong patch, right patch is the follow-up commit.
This reverts commit a489ec15eb489a3528f6fee99716f7f4ae35f9ee.
commit 144210ab4962c5b00fea4fdc4f01050841a8d67c
Merge: a489ec1 dead313
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jun 2 12:57:38 2010 +1000
Merge branch 'master' of git://people.freedesktop.org/~gnadon/xf86-input-synaptics
commit dead313d15a7c9ccf59009eef4202503741a1b5f
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Jun 1 20:55:15 2010 -0400
config: fdi file must be installed in $(datadir)/hal/fdi/policy/20thirdparty
Applies to server with no sysconfigdir
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit a489ec15eb489a3528f6fee99716f7f4ae35f9ee
Author: Simon Thum <simon.thum@gmx.de>
Date: Wed Sep 9 14:41:08 2009 +0200
Setup pointer acceleration for synaptics
Setup dix pointer accel from the synaptics driver so synaptics devices
behave like before while benefiting from dix velocity approximation.
This fixes the longstanding issue with synaptics being
accelerated twice with different algorithms. The pressure-dependent
synaptics acceleration is now performed in a device-specific profile.
Signed-off-by: Simon Thum <simon.thum@gmx.de>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3dd5486bc8ddd96f43e92386537ae9adabc1714e
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Mon May 31 15:39:18 2010 -0400
config: synaptics depends on RANDR through xf86.h
The xf86.h file contains external declarations specific to RANDR
If this extension is defined (installed) synaptics will not compile
if randrproto is not installed.
Because this is an optional extension, XORG_DRIVER_CHECK_EXT
must be used.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 92789dfb8a0443d9f1dd8df4ba43c69885136574
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Fri May 28 20:16:54 2010 -0400
config: add AC_CHECK_LIB for math library functions
It ensures library is installed and sets LIBS = -lm
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit c1df54855a7eee4d904746ad7b6edc7553bda0af
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Fri May 28 13:38:35 2010 -0400
README: add standard reference links section
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 3b78018e9a0df9f0c38b63d7f4efc7dadb9ebb3e
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Fri May 28 13:32:55 2010 -0400
COPYING: add three missing authors listed in synaptics.c
Copyright (c) 2008 Fedor P. Goncharov
Copyright (c) 2002 S. Lehner
Copyright (c) 2008-2009 Red Hat, Inc.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit c4ca660b4773c6feb04a5cf64da44da1f0b2de49
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Fri May 28 13:19:11 2010 -0400
Remove unused TODO file
It has been updated just once in 4 years (300 commits)
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 9924329002276ff60c033c66dd7e39a70050c3cc
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Fri May 28 13:09:00 2010 -0400
config: use AC_PROG_INSTALL now supplied by XORG_DEFAULT_OPTIONS
It depends on util-macros 1.8
The existing statement can now be removed from the configuration file.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 100d3d60cd798ea1978adf1c7e388ee6dc5984e4
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Fri May 28 13:07:42 2010 -0400
config: upgrade to util-macros 1.8 for additional man page support
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
The value of MAN_SUBST is the same for all X.Org packages.
Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS
The existing statement can now be removed from the configuration file.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 14fc097bc481e8dda84c4d90f8c3c97df15c6746
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue May 25 13:29:46 2010 -0400
config: replace Automake deprecated INCLUDES var with AM_CPPFLAGS
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 2554d5b615101011c09c4786b8a18216ec0909e2
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue May 25 13:00:04 2010 -0400
config: unconditionaly build synclient and syndaemon apps
The current conditional building of the apps was introduced by
commit 080caee95c46bb471d1442dcab246460cad8c7be due to optional
support properties. This is no longer an issue.
There are no longer any reason not to build these bona fide apps.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit a101621bf624466f66da41a8fa6b5ba796cd10fd
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sun May 30 21:40:01 2010 -0400
man: Use Autoconf provided $(AM_V_GEN)$(SED)
Enables silent rule and use platform appropriate version of sed.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 82c2e2d93413ec81e84cb33338e677e01aa382a9
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Mon May 24 15:53:06 2010 -0400
config: 50-synaptics.conf must be unconditionally distributed
A file may or may not be installed based on a particular system
configuration, but it must always be distributed in the tarball
so the package contains the complete source code.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit e517ccca6e7f1bd9160f2d82c10ddb618771d192
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Mon May 24 15:50:18 2010 -0400
config: use automake "dir" pattern for simplification
configdir is where the config file is installed
config_DATA is the filename
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit e4d280dfbdb2d1a916e6ad9a4cdc3f22f2c37d57
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Mon May 24 15:27:56 2010 -0400
config: close a loophole where user input means x server has a feature
If a user provides a path in --with-xorg-conf-dir,
the configuartion assumes the server does have a config path which may
not be the case.
Resolve this by testing the value of the server returned sysconfigdir
rather than the user provided value.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit f3e4c586037a5785f786ff74c89c87de7d4ac344
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sat May 22 20:48:29 2010 -0400
config: fix warnings, m4 quoting and layout
Fix some m4 quoting
Fix some autoconf warnings
Regroup statements per section
Add comments
Regroup xtst and recordproto (a prereq) flags together
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 5d64210dc613278d0b8914393cbbc3baeb4e1b76
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sat May 22 20:29:27 2010 -0400
config: Upgrade X.Org macros to 1.4 for INSTALL file copying
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 20fd08780dcf5cdc8b3d85284fe357a3c2917aed
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sat May 22 20:28:51 2010 -0400
config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
AC_PROG_C_C99. This sets gcc with -std=gnu99.
If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 2538a6b87aad3526f85028689adc3eac21a91997
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sat May 22 20:27:10 2010 -0400
config: remove unrequired AC_HEADER_STDC
Autoconf says:
"This macro is obsolescent, as current systems have conforming
header files. New programs need not use this macro".
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 2aae5d03e336c6b1e06745410268a0c26b4a366b
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sat May 22 20:26:36 2010 -0400
config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Regroup AC statements at the top.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 2f81c85866448c4a07064bc6e999854f5fbcf044
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sat May 22 20:24:57 2010 -0400
config: update AC_PREREQ statement to 2.60
Unrelated to the previous patches, the new value simply reflects
the reality that the minimum level for autoconf to configure
all x.org modules is 2.60 dated June 2006.
ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit bc3c09674911b9870a3c224b0c261132d1b13cfa
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sat May 22 17:52:43 2010 -0400
config: regroup macros and variables in the backend checking
It saves a few lines.
No functional changes.
The same cannot be done for AM_CONDITIONAL:
"If AM_CONDITIONAL is run conditionally (e.g., in a shell if statement),
then the result will confuse automake".
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 8843aaf4806344a8bda0f2e981a77f61c18f8037
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sun May 30 21:19:29 2010 -0400
config: rework the synclient and syndaemon dependencies
The driver does not require inputproto package
The hunting for record.h is done only if libXtst is installed
AC_CHECK_HEADERS is used rather than checking for package versions
HAVE_PROPERTIES is no longer required
Normal config output:
checking for XI... yes
checking for XTST... yes
checking for X11/extensions/record.h... yes
Permutations of --enable-tools and dependencies:
build_tools libXi installed Result
----------- --------------- ---------
yes yes build tools
auto yes build tools
no yes skip build
yes no abort configuration
auto no warn and skip build
no no warn and skip build
Permutations of libXtst, record.h and recordproto
libXtst record.h recordproto syndaemon
installed installed installed using XRecord?
yes yes yes yes
yes no yes no
no no yes no
no yes yes no
no no no no
Other scenarios are possible where you have 2 different versions of
record.h installed in different $prefix locations. The order
of *_CFLAGS will determine which one gets picked first.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 76dd6ffee7257f9ff0aec5a9655de67f6e7973c9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue May 25 07:36:43 2010 +1000
Bump to 1.2.99
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a8ed3f90bf64b77ff9787c2e1c31441d254797b5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 20 12:50:40 2010 +1000
Don't use libcwrappers for calloc and free.
The server has deprecated them now, so we get a lot of warnings for little
benefit.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
commit 345e61fe9290d37b6309f920884a955fb62fa071
Author: Gabor Z. Papp <gzp@papp.hu>
Date: Thu May 20 12:45:54 2010 +1000
Building syndaemon and synclient needs $(XI_CFLAGS) and $(AM_CFLAGS)
Reported-by: Gabor Z. Papp <gzp@papp.hu>
Signed-off-by: Gabor Z. Papp <gzp@papp.hu>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f539d676607d3a7566093e2bd54edc740db20426
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue May 11 13:46:31 2010 +1000
Remove psmcomm.h header - superfluous.
Don't need a full header file for 3 include directives of system headers.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c52e4a8ecd6bb535850ec6ff032f69a225734f8f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon May 10 11:17:49 2010 +1000
Reshuffle to handle dead area better.
This patch makes input in the dead area essentially disappear to the client.
If a finger is detected outside the active area, it's coordinates and other
data is reset to zero. Edge detection and scrolling is skipped and the event
is not recorded in the movement history.
On touchpads that require this area, it is now possible to click the button
while leaving another finger on the touchpad.
Regression: moving into the dead area during a drag releases the drag button.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d79732c1ffcfa6fd1a9a39e5a1c464bba8e2afc8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri May 7 13:46:49 2010 +1000
Make scrollbuttons processing and property conditional on their existence.
There are not a lot of touchpads that have extra physical scroll buttons
anymore. For those that don't have them, don't initalize the properties and
conditionalize some of the code (moved into its own functions).
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b8776ff0b478a1645f1536872d001e9605d86f71
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 6 17:27:14 2010 +1000
move history storage from ComputeDeltas into HandleState.
It's well hidden in there, but not useful.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Simon Thum <simon.thum@gmx.de>
commit 69a8de8fd9f1731c83e003b6ff6495cfdc96d4e1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 6 16:36:52 2010 +1000
Add NO_EDGE to the edge enum instead of using hardcoded 0.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 33b01280d8ffe6e35f6ca8497ed82bcfe2044594
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 6 15:22:33 2010 +1000
Rename HandleClickWithFingers to handle_clickfinger.
The option is called ClickFinger, the man page talks this way about it, sync up
the code with it.
No functional change.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
commit 1b612c0bbcd8b287ac4f7cb8ba3354b0e0a63949
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 6 15:21:39 2010 +1000
Factor out updating the hardware state.
No functional changes.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
commit 9076f06b1b70a92ab582ce68a73fdaa169dfe69f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 6 15:10:40 2010 +1000
Use post_button_click to post doubleclicks.
Function introduced with the factoring out of post_scroll_events.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7fd741f76a94feb21c4c8227105d174be630da11
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 6 15:09:33 2010 +1000
Move scroll button handling out of HandleState.
Again, just to make the code easier to read, no functional changes.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
commit 39aed3b773c077a55f54a7c143102ab09dae8237
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 6 15:05:35 2010 +1000
When scrolling, hardcode the button/press release cycle.
Not sure why the values for !hw->up and hw->up were used here instead, but this
could potentially lead to unreleased buttons. Also, it's harder to read and
generally confusing, since the same wasn't used for left/right scrolling.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3782060b41ede96d87dcbc508b2235c6723f0a78
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 6 14:54:35 2010 +1000
Factor out up/down and left/right button scrolling from HandleState.
There are not a lot of touchpads that even have these buttons anyway, move the
code out of the way for clarity.
No functional changes.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
commit e72c29939fa0620e831ebc99bbc69a5cadca1247
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 6 14:21:42 2010 +1000
Move SHM hardware state update into a separate function.
No functional changes, this is just to move a slab of code out of mind when
reading.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit e579bab2f71569ab07d6b6fd36360a81fac48ad8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 6 16:58:46 2010 +1000
Change condition the finger requirement obvious.
The need for a finger down is for all conditions, move it to the front of
the condition to make it more obvious.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a1aa196a53a9061131bcdaeac3743c1f8149ed5d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 6 16:10:34 2010 +1000
Add FIXME: where does the 13 come from?
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 776ec0ed42616769ed834b5822df3b2b0d5c0e85
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 29 15:03:55 2010 +1000
Disable ClickFinger for touchpads with more than one physical button (#26079)
If a touchpad has more than just one (or no) button, don't enable any
ClickFinger settings other than button 1.
The old default of enabling those clickfingers can be confusing on devices
that have left and right buttons but no middle. In that case, leaving three
fingers on the touchpad and clicking will result in a button 2 press
(usually paste). But leaving one or two fingers on the touchpad while
clicking will simply send button 1 events.
This can appear like spurious button 2 events to the user.
X.Org Bug 26079 <http://bugs.freedesktop.org/show_bug.cgi?id=26079>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 87b29e6004a9a7f744eb6e9c2bf9539579ecefbf
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 8 14:47:08 2010 +1000
Add 50-synaptics.conf snippet.
If the server exports the sysconfigdir variable, install the
50-synaptics.conf snippet in the directory provided.
This patch also moves the fdi file from fdi/ into the new conf/ subdir to
have a single location for all config files.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
commit e22a850e69d670152371644fc4e63976f484d7b5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Apr 14 08:41:06 2010 +1000
eventcomm: use X_PROBED for kernel-probed values.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4e221c1647b066b65c317fcf4cb4f71cc5874386
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Mon Apr 5 20:57:06 2010 -0400
config: include files redundant in EXTRA_DIST
The HEADERS Automake primary variable always gets it's files
distributed and installed.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit a07fe65031ffa7e8d88898d763bdbc88899fb1e4
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 17 13:52:43 2010 +1000
After closing the fd, reset it to -1.
A DeviceOff() followed by DeviceClose() (which calls DeviceOff()) would try
to close the fd twice, in addition to calling various hooks.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
commit 0fb151b2388ca665b9454b7b284181b4fa180194
Author: Adam Jackson <ajax@redhat.com>
Date: Fri Mar 12 08:32:22 2010 +1000
Don't clobber the timer we just created.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 8d0e7686d899f31a2efc62526f50796b4c484442
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Wed Feb 10 20:22:37 2010 -0500
tools: use more appropriate CFLAGS
-I$(top_srcdir)/include: required for synaptics.h and
synaptics-properties.h. The module has not yet been installed
so there is no copy in server sdkdir (unless old copy)
$(XTST_1_1_CFLAGS): required if record.h is provided by
libXtst in $(includedir)/X11/extensions.
$(RECORDPROTO_1_13_CFLAGS): required if record.h is provided by
recordproto in $(includedir)/X11/extensions.
-I$(sdkdir): required for xserver-properties.h
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Acked-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit ddfadc2e824ac17c0360720a2121639573587231
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Wed Feb 10 12:50:50 2010 -0500
tools: add the main include directory
Header record.h is not found in X11/extensions because -I leading
to that directory is missing. I think it was accidently removed
when fixing the CFLAGS misuse in an earlier commit.
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit f7559a5ea578b9889ec233b374bf270f1e7b6a64
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date: Fri Jan 15 15:08:42 2010 -0800
Update Sun license notices to current X.Org standard form
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
commit 7a43ba2b9d35bc89b94964ce7f95c9299b978b7d
Author: Julien Cristau <jcristau@debian.org>
Date: Fri Jan 8 16:22:51 2010 +0000
configure: don't clobber CFLAGS
CFLAGS is a user variable.
Signed-off-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a1776829076a6774571fa82ea4adde03c3c6c5b4
Author: Julien Cristau <jcristau@debian.org>
Date: Fri Jan 8 16:22:50 2010 +0000
synaptics: don't link the tools against `pkg-config --libs xorg-server`
Separate the checks for xserver 1.6 and for libXi in configure, so we
can link the tools against libXi but not pixman and pciaccess.
Signed-off-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 94aaded93d035b0a65b4f7a80f9bdf6cf1ae2d66
Author: Hiroyuki Ikezoe <poincare@ikezoe.net>
Date: Thu Jan 7 11:28:27 2010 +0900
Restore user's setting when enabling touchpad.
And do not disable if the property is already disabled.
Signed-off-by: Hiroyuki Ikezoe <poincare@ikezoe.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit fb058a463e3b36edc735b517a41feb4ee75d88cd
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Dec 15 21:37:43 2009 -0500
configure.ac: use backticks rather than $() for cmd subs
Use "$PKG_CONFIG" rather than hard coded "pkg-config"
Acked-by: Dan Nicholson <dbn.lists@gmail.com>
Acked-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit babe5288271f3c088d9aac3ffd9f036c87b0018e
Author: Adam Jackson <ajax@redhat.com>
Date: Thu Dec 10 13:33:37 2009 -0500
Don't destroy the timer on DeviceOff.
DeviceOff is VT switch, DeviceClose is unplug. We need the timer
pre-allocated since we set it during the signal handler and so can't
allocate it then, so merely cancel it at DeviceOff, and delete it in
DeviceClose.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 8748a83dc507af211692124ce93dabfeb43da7aa
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Mon Nov 23 09:25:05 2009 -0500
Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
Now that the INSTALL file is generated.
Allows running make maintainer-clean.
commit a1ee64384f67c9d51dd3ac69cec1e756ba611145
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Nov 10 21:34:53 2009 -0500
INSTALL files are missing/incorrect #24206
Add missing INSTALL file. Use standard GNU file on building tarball
commit 0a9d91701d04be8c7a1ff16d1f8d048089834219
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Nov 10 21:33:33 2009 -0500
Several driver modules do not have a ChangeLog target in Makefile.am #23814
The git generated ChangeLog replaces the hand written one.
commit 66cdb27572f8ff72fdf0e9e141bccb5aa177f9d5
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Nov 10 21:20:52 2009 -0500
.gitignore: use common defaults with custom section # 24239
Using common defaults will reduce errors and maintenance.
Only the very small or inexistent custom section need periodic maintenance
when the structure of the component changes. Do not edit defaults.
commit e6b1a4ef1208fa7ba1e3be3fa01b943ca6f83cd4
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Nov 3 13:40:21 2009 +1000
Reduce SynapticsCtrl to a stub.
It hasn't done anything useful since at least 2003 and the debug message
just spams the log.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Adam Jackson <ajax@redhat.com>
commit 33413529dc35f0afc585d4297f86199393d19684
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Nov 2 10:42:44 2009 +1000
eventcomm: don't use the Xisb buffers for reading.
The kernel promises to give us 32 bytes for each event, so we don't have to
juggle the Xisb buffers around for the eventcomm devices.
This leaves the Xisb buffers hanging around but useless (they are
initialized regardless). Task for a later cleanup.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Adam Jackson <ajax@redhat.com>
commit d3c1b80692013abb2f2dea6ec7acf1d8a89a18d2
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Nov 2 10:06:01 2009 +1000
Clean up debugging system, allow for --enable-debug
Add --enable-debug to list of configure options.
Clean up the DBG macro to use xf86MsgVerb and supply the verbosity.
Don't use ErrorF from the driver, use xf86Msg instead.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Adam Jackson <ajax@redhat.com>
commit 0198c02774a5063c5cf45b6eddef4a33d9f494d7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Nov 2 09:48:38 2009 +1000
Always make the input buffer size 200
PreInit initalizes the input buffer with 200, DeviceOn only with 64. For
consistency, use the same size in both.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Adam Jackson <ajax@redhat.com>
commit 8b1446f798478a9d8483cdaae8d7ff1bae5c045b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Oct 22 08:20:55 2009 +1000
synclient: if no option is specified, assume -l
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Adam Jackson <ajax@redhat.com>
commit 6622911370197d69737be02dd9f83e4406a991ca
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Oct 22 08:19:35 2009 +1000
synclient: fix man page typo
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit cf2ccaaeb7fdd1ffc4c9171134f7cbd44f141f28
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Oct 20 08:16:48 2009 +1000
man: update manpage for new tap ordering
Tapping has changed from 1,2,3 to 1,3,2. Document this in the man page.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d109ebbd5ee8f895e29c5fc780dce3cdb7c2f7d3
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Oct 8 13:41:59 2009 +1000
synaptics 1.2.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 807a0ecd61ba5fcde57f5e218c790edd58784a56
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Oct 6 08:06:37 2009 +1000
Require recordproto 1.13 or libXtst 1.1 for record support.
The record.h header used to be in recordproto up to excluding 1.14, then
moved to libXtst. Check for both and enable it dependent on which version we
have.
This avoids build errors on setups where a user updated recordproto but not
libXtst.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Xavier Chantry <shiningxc@gmail.com>
commit 4422003fafe811a2d2e2fca818dc58f706e67918
Author: Alberto Milone <alberto.milone@canonical.com>
Date: Tue Sep 22 12:46:45 2009 +0200
Correct the type of the Synaptics Area options in the man page
The type of the Synaptics Area options in the man page was incorrectly
set to "boolean" but it's really "integer".
Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 2b27e79d0c6cab73ecb8d00e1dbad32a8150033c
Author: Christoph Brill <egore911@egore911.de>
Date: Sat Sep 12 09:52:50 2009 +0200
Revert "Add support for reducing the build process output by using shave"
This reverts commit 583678b8fe540d9a4120e6c93115b4a141888a2e. Peter
Hutterer informed me that util-macros 1.3.0 already provide the same
functionality when using automake 1.11.
Conflicts:
configure.ac
commit e01129440742f39650a50c193315b2824c0b303a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Sep 11 11:45:04 2009 +1000
Require macros 1.3 for XORG_DEFAULT_OPTIONS
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 583678b8fe540d9a4120e6c93115b4a141888a2e
Author: Christoph Brill <egore911@egore911.de>
Date: Wed Sep 9 20:57:12 2009 +0200
Add support for reducing the build process output by using shave
This adds suport for shave (git://git.lespiau.name/shave) which is
capable of reducing the amount of unintresting output from autotools
builds. It was copied over from xf86-video-ati and updated to latest git
of shave. It is still possible to get the usual output by using "make
V=1".
commit 45851dbfe64ff18f0867846443300e845cdc7e22
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Sep 7 21:49:24 2009 +1000
man: s/SYNTAX/SYNOPSIS/ (#9515)
X.Org Bug 9515 <http://bugs.freedesktop.org/show_bug.cgi?id=9515>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit ddee56185181d5c3ffd007fe0dc5af3eed1a95cd
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Sep 7 14:01:01 2009 +1000
synaptics 1.1.99.1.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a629e9fb42433c01daf2278381dcf5bbe1557c16
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Aug 19 13:43:21 2009 +1000
Use finger state as an enum, not as a bool.
SynapticsDetectFinger mixed using finger as an FS_* enum and as a bool if
palm detect was on.
Reshuffle the conditions that it stays as-is or is reset to FS_UNTOUCHED,
whichever is appropriate.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit 342a38c9c1aa6291d51485de00880359eee95588
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Aug 19 09:28:35 2009 +1000
Remove abysmal misuse of ternary operator.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit c9527bdcb01f9484b66147d6a4a33b499d54ee99
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Aug 20 08:20:44 2009 +1000
man: fix typo in MaxTapMove documentation.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b95995c6665d147e4857d8616b57aa8a25fc3f6f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jul 31 13:25:52 2009 +1000
Split rc and ret into two different variables.
This is a cosmetic change only.
ioctls - though not the ones used here - may return non-zero non-negative
values to the caller. Using the return value as a boolean and as return
value for ioctls at the same time could result in false positives if one
ioctl returns 1. This cannot happen in this part of the code but a
separation of the two improves readability.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit 1d89e2f632cf6c702ae5002f81e5783f3ba1b9ae
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jul 27 11:04:13 2009 +1000
Remove the "SpecialScrollAreaRight" option. (#21001)
This option auto-adjusts the right edge on the touchpad but wrongly so. It
does not take the edge width into account, thus setting the right edge to
the max value received - leaving only a single-pixel scroll area in some
cases.
A previous attempt to auto-adjust edges has failed (afb60a0b). The kernel's
min/max values cannot be relied on for actual range clipping and thus scroll
edge settings are best left untouched.
X.Org Bug 21001 <http://bugs.freedesktop.org/show_bug.cgi?id=21001>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d7a4a63d1d67bf38a7948722881de8d926319c6c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jul 22 10:41:08 2009 +1000
Revert "Auto-adjust edges if values fall outside queried min/max ranges. (#21001)"
This reverts commit afb60a0b2497c5d08cbd1739fa8ae6585c428881.
From comment 24 to #21001:
I've been running this code for over a week now and I'm not happy with it.
Once I move over to the right, the scroll-edge becomes so small that it's
hard to trigger.
Source of the problem is the information provided by the kernel. The kernel
hands us a min/max value for the synaptics pads but this value is not
reflective of the actual physical boundaries. The other dimensions are based
on these min/max ranges.
My RightEdge setting by default is 5129, after moving to the right it
becomes 5677. The announced max for x is 5472. We have model-specific edge
settings and in the case of synaptics the width of the scroll area is 7% of
the total width (based on min/max). This works, but obviously only because
the max is wrong. I've tried upping this to 15% and it works fine but unless
the edge is adjusted the scroll bar takes over too much of the pad.
So right now I'm inclined to revert this patch and just ditch any
auto-adjustment of scroll edges whatsoever. This way, the original setting
is maintained even if we reach outside of the min/max area.
Conflicts:
src/synaptics.c
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7179a0eb11a842d9d5a420f5702a411b0dc217a2
Author: Alberto Milone <alberto.milone@canonical.com>
Date: Thu Jul 16 12:08:08 2009 +0200
Add active area outside of which movements, scrolling, tapping are ignored.
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>
commit 0c3fbceb1b2a18f92166fe75c44b5aaada693c4b
Author: Tero Saarni <tero.saarni@gmail.com>
Date: Sun Jul 12 19:24:40 2009 +0300
Add configurable x/y resolution to fix sensitivity on wide touchpads.
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>
commit afb60a0b2497c5d08cbd1739fa8ae6585c428881
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jul 6 09:17:57 2009 +1000
Auto-adjust edges if values fall outside queried min/max ranges. (#21001)
The kernel provides min/max for x/y values but still allows devices to send
coordinates outside this range. If the edges are autodetected, re-adjust the
edge settings to fit within the new effective min/max range.
When the edges change the property needs to be updated accordingly. This
can't be done immediately as changing properties requires mallocs and
HandleState is called during the signal handler.
Instead, set a timer to be called when the server isn't busy and update the
property then. The delay between setting the timer and sending the property
notify event also reduces the number of events sent, the property event
includes the latest state only.
If the edges were configured by the user, don't re-adjust.
This obsoletes the SpecialScrollAreaRight option as it provides the same
functionality, without the side-effects triggering 21001.
X.Org Bug 21001 <http://bugs.freedesktop.org/show_bug.cgi?id=21001>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 24d8919e7052b950ddde85c6dc45552faa4cb30f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 30 10:14:11 2009 +1000
Move edge calculation stuff out into separate function.
commit bb74e1a12896998a9f328f3cf53b2f31679b3ce5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jun 18 11:22:48 2009 +1000
Cope with ABI_XINPUT_VERSION 7.
Version 7 requires button and axes labels.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit fd939a37d7df320f76fc772eb1f18eb6ba1d54b9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jun 17 21:33:52 2009 +1000
Simplify xf86InitValuator calls a bit.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Christoph Brill <egore911@egore911.de>
commit 659dd09893bf7648957aa2ae5898e32ed24d057a
Author: Paul Menzel <paulepanter@users.sourceforge.net>
Date: Fri Jun 12 09:53:58 2009 +0200
Fix typo. s/tough/though/
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 1f499dd3f067848c344c13e04305e9f428438c9f
Author: Mattia Dongili <malattia@linux.it>
Date: Fri Jun 5 08:57:06 2009 +1000
man: explain TapButton default values
Clarify how the new default values are set and what options to set
to get a different behaviour.
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 6b3a032fdf5479cb5be441a01ebef92a39e5fb69
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue May 19 11:50:43 2009 +1000
Add "Synaptics Capabilities" read-only property.
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>
commit 44c1de333acf1de22f570a16421e0ff4889b0809
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue May 19 09:14:54 2009 +1000
eventcomm: fix return value of event_query_is_touchpad.
"ret" is used both for storing the ioctls return value as well as for the
return of event_query_is_touchpad. If an ioctl fails, ret is -1 and we
return this value as a BOOL. The caller treats this -1 as TRUE and thinks
the device is a touchpad.
Bug is triggered if a xorg.conf section is present with auto-dev as device
and a mouse event device is openeded before the synaptics event device.
Introduced with e4b1571d487cb67bab64e1ee890bddcd02437ddf.
Red Hat Bug 499792 <http://bugzilla.redhat.com/show_bug.cgi?id=499792>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
commit a9f8b19ceba8f7652ebdb620fb0785dfa578a218
Author: Coleman Kane <ckane@colemankane.org>
Date: Mon May 18 18:14:50 2009 -0400
Fix broken build on FreeBSD (#21803)
Band-aid to fix the build and function prototype mismatches on
FreeBSD (and maybe others, but I don't have any more to test).
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 35191ec094a2006ba290713640dd95c88ca3b0f9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon May 18 17:23:02 2009 +1000
synclient: up max value for AccelFactor to 1.0
There's no real reason to restrict AccelFactor to 0.2, the driver itself
doesn't restrict AccelFactor either. Upwards of 1.0 it's hard to spot any
real differences in speed though, so 1.0 seems like a sensible maximum.
Red Hat Bug 462574 <https://bugzilla.redhat.com/show_bug.cgi?id=462574>
Reported-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
commit e0d651c77e3a59086d5f36d1aaf9e6ba80394336
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri May 15 11:59:58 2009 +1000
eventcomm: force boolean values for has_left, has_right, etc.
TEST_BIT simply returns the value of the bytes, so we end up with has_left
and friends being an integer value instead of a boolean value. This again
may cause confusion in other parts, if a 1/0 boolean value is expected (e.g.
all xf86SetBoolOption()).
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
commit ee265e10c9cc724ad0badcab86a3893667717322
Author: Erkin Bahceci <erkinbah@gmail.com>
Date: Mon May 11 12:32:32 2009 -0500
Add TapAndDragGesture option and gestures property.
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>
commit e4b1571d487cb67bab64e1ee890bddcd02437ddf
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 30 15:05:50 2009 +1000
eventcomm: if we can't grab the device, assume it's not a touchpad.
If a device is configured in the xorg.conf, it will get added once in the
config, once through HAL. Since we grab the device, the second device will be
mute. And confuses tools and users alike.
So let's just assume that if we can't grab the device, it doesn't exist.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit 609b6728effb53006b2d0be1fac55d4ab1f269d2
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Apr 29 21:29:57 2009 +1000
Purge SynapticsHWInfo stuff, move it into proto_data.
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>
commit c3ab0ae4f3f04da7018173662ede174c97710c8a
Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
Date: Thu May 7 18:17:55 2009 +1000
Add model-specific edges for appletouch.
Needs around 8.5% to be useable.
I created a table to iterate through the different products rather than
using if/else branches. I can enumerate the appletouch product_ids, but I
suspect they will all be around the same range (hence the PRODUCT_ANY). If
another product id shows different behavior, we can just add an entry to
the table as appropriate.
I also changed the default eheight to be 5.4% to match the spec.
Reported-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
commit c50dba0b04f2115a5d23ed4a785c101f9b26900b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 23 09:15:04 2009 +1000
Add TouchpadModel specifier and scale the edges accordingly. (#21214)
ALPS models need different edge settings than synaptics pads to make the edges
work propertly. So try to auto-detect the model (eventcomm anyway) and set the
edges accordingly.
New edge defaults are:
synaptics: 7% of the total width
alps: 15% of the total width
unknown: 4% of the total width (see Synaptics UI guide)
X.Org Bug 21214 <http://bugs.freedesktop.org/show_bug.cgi?id=21214>
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>
commit fba24019ffdcf4da8938a3ad61b2f38e40626858
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri May 1 13:16:47 2009 +1000
ps2comm: fix typo in debug statement.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a9a443959585e7f65ba3f300d387cf617d9df77b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 30 16:05:09 2009 +1000
If QueryHardware failed, return that failure and clean up.
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>
commit 6dc7f5e127b4b60b27f661862c5698e6f9ea7e49
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 30 16:03:43 2009 +1000
Only try to free the timer if it's actually there.
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>
commit b00b015aaa81c7da2a419649851004d481f33e3c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 30 08:15:30 2009 +1000
man: document left-handed TapButton awkwardness.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit 86df78a2387fbaa2b362446999235ab9c605f8f9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 30 15:39:42 2009 +1000
Fix typo, missing ":"
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit ef2221322e62b94a88a8358e6513a3f6f232a28f
Author: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
Date: Tue Apr 28 07:39:36 2009 +1000
PS/2 interface: sense multifinger taps on FingerHigh (#21427)
Previously multifinger taps were sensed on the Z value > 0: this isn't
very correct. Accorging to the specification, Z values below 30
correspond only to a very light taps or just floating fingers. I had
run into the situation when I was clicking on the physical left button
and that click was transformed to the right button click via
ClickFinger2, but I wasn't tapping the touchpad at all. Investigations
showed very small values of Z -- my other fingers were just floating
above touchpad.
This change also makes click (and finger) detection more consistent,
because it uses FingerHigh to detect taps everywhere.
X.Org Bug 21427 <http://bugs.freedesktop.org/show_bug.cgi?id=21427>
Signed-off-by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Henrik Rydberg <rydberg@euromail.se>
commit 4f58454f53432f67d221ace60675499d8cee2411
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Apr 24 10:17:29 2009 +1000
synclient: fix 64 bit issues for float properties.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
commit efbc3e98be4bacbb7ca08409d33584ffd55ee794
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Apr 21 17:07:02 2009 +1000
Remove un-used DeviceOn/Off hooks.
And allow for them to be NULL without crashing the server.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c09a3d50e995302ec08c5d5f8c679148613e1656
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Apr 17 16:04:07 2009 +1000
Remove Synaptics SHM configuration bits.
The only thing we still export through SHM is the hardware state.
commit 93a533120fa477fce63ef6daa9f5c836b5245e5d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Apr 17 15:24:38 2009 +1000
syndaemon: remove SHM code - properties only from now on.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f2c85fe950b037ba04705d02a54d57476f118c11
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Apr 17 15:01:05 2009 +1000
synclient: remove listing and modification of settings through SHM.
SHM is only used for dumping and monitoring hardware state.
synclient now requires property support (i.e. server 1.6).
commit 080caee95c46bb471d1442dcab246460cad8c7be
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Apr 17 15:19:41 2009 +1000
Only build synclient/syndaemon if property support is available.
Separate dependencies for driver and synclient/syndaemon.
Add option --enable-tools to explicitly build the tools (default: auto)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b56ab7e0140c8fa7dcc58f6b8a087f7d6bece04f
Author: Adam Jackson <ajax@redhat.com>
Date: Thu Apr 16 11:49:12 2009 +1000
Allocate the timer early so we don't try to malloc it within a sigio handler.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 74bd8574c796c7ff7c9bea6873b317bf14d29a70
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Apr 14 07:27:07 2009 -0400
synclient: fix 32-bit integer handling on 64 bit machines.
libX11 actually expects longs for 32-bit values, even if they are 64 bits.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
commit 18442d927f6cf03e7a366f6c3c0292b065ba1c64
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 24 11:24:02 2009 +1000
Shut up valgrind warnings about uninitialized variables.
Reported-by: Zdenek Kabelac <zkabelac@redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a07a840b26827e1a2c8cccd255177b693c5b91e8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 18 18:38:12 2009 +1000
Don't fail when building against server 1.5
The driver had all the right guards, but synclient and syndaemon didn't.
Check for xserver 1.6 and higher and disable property support in synclient
and syndaemon.
Note that the property headers still get installed even without support for
properties in the driver. This ensures that apps looking for synaptics >=
thisversion don't fail miserably.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Christoph Brill <egore@gmx.de>
commit ea7695037070e7037a4b20db87dd466c643ac088
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 18 18:37:47 2009 +1000
Remove NEWS file, it's not being updated anymore.
Googling for the announce emails is more effective.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Christoph Brill <egore@gmx.de>
commit 0b26fdc42c9a07959dbcf7d9d274d97eae55b768
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Mar 9 11:59:09 2009 +1000
Bump to 1.1.99
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a0a0475b39a1abb67bfcc34723a222799132a33d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Mar 9 11:38:00 2009 +1000
man: remove some pointless ( and ) around "float" options.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 5acb71723a7fe837f7312adb5b8320dda87649f2
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Mar 9 11:28:02 2009 +1000
man: device properties are now supported, should be stated as such.
This includes listing supported properties and de-emphasizing the need for
SHM.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 18b25ae7fa6438f85c49f41c1c11ed8ac84df47e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Mar 5 11:54:57 2009 +1000
Bump to 1.0.99.4
commit 4d5a41ca574b1462889d4423cfdbc008132aa9c2
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Mar 5 11:47:41 2009 +1000
include xorg-server.h from all driver source files.
This fixes the 64-bit issues with 1.0.99.3. Not having xorg-server.h included
in time means we miss out on _XSERVER64, which leads to different sizes of the
LocalDeviceRec struct in the driver and the server.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 2a93e92d493050398f993fda50c5e7a445a946de
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 4 15:20:07 2009 +1000
Bump to 1.0.99.3
commit c719553dac875824b2d2a8f7714a89998ab4828d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 4 15:18:39 2009 +1000
Don't auto-include xorg-server.h in config.h
config.h is needed by synclient/syndaemon, and including xorg-server.h leads
to funny results on 64 bit machines. Not "ha ha" funny though.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 07f0588bbd85655ba7d2ef4d2a3f4a62ddb638bc
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 4 15:03:40 2009 +1000
synclient: don't print driver's package version info.
synclient is not the driver. If you want to know the driver's version, look in
the log file. After all, synclient would only print the one it was compiled
with anyway, not the one of the driver.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 020142e57cbf709bd694112c32522a040042544d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 4 12:15:58 2009 +1000
syndaemon: needs XI_LIBS to link now.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit aa5b2b64e541ff7ca3f0a2bdb11d1c20624c406a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 4 11:51:53 2009 +1000
synclient: XCloseDisplay doesn't like NULL-pointers.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 575616521aeffb002c4b41de1e77da5c251ee4af
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Mar 2 12:28:51 2009 +1000
syndaemon: disable XRecord by default.
XRecord is disabled in the server by default, so let's not have it as default
here.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Julien Cristau <jcristau@debian.org>
commit bc395e89d2629755e199886dcebb38c4964b2cd1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 3 11:33:23 2009 +1000
syndaemon: use device properties unless SHM is requested.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Julien Cristau <jcristau@debian.org>
commit c256932f635afe62a6ace16f9a5c14f5c2a01fe5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Mar 2 11:48:02 2009 +1000
syndaemon: if we wanted XRECORD, but it failed, exit.
If Xrecord is missing but we requested it (say, didn't disable it explicitly),
then exit. Don't use the alternative SHM area, it's bad for your health.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Julien Cristau <jcristau@debian.org>
commit 40dbe97f6138705369c30b4ad95014bd07c6913d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Mar 2 11:46:00 2009 +1000
syndaemon: move shm code into shm_init().
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Acked-by: Julien Cristau <jcristau@debian.org>
commit d52d633fcdbf0a6c3dcc0af43d40ab7e217ff89b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Mar 2 11:21:29 2009 +1000
syndaemon: remove enable/disable_touchpad(), use toggle_touchpad instead
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Julien Cristau <jcristau@debian.org>
commit 2241c39b1123bd1bac584f5ac349396560eb2e71
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Mar 2 12:19:00 2009 +1000
syndaemon: fix minor typo in --help output.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b768d6e1f552a9fae2e02256d057a71186620acc
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 1 08:41:10 2009 +1000
synclient: print an error if we can't find the synaptics device.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 79867e9fb29332deb96e121001b1bcae7937e52c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Feb 27 13:18:13 2009 +1000
Bump to 1.0.99.2
commit 65919aae574a4536c0fa1506dc396725c3e710fe
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Feb 27 12:05:17 2009 +1000
synclient: define XATOM_FLOAT if missing from xserver-properties.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 24ae6192bfbf67ec0a112b8a0cbb3925df58a5b8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Feb 27 10:03:12 2009 +1000
synclient: Fix build errors - BOOL isn't always available.
Hilarious include dependency resulted in BOOL being available on my box, but
not boxes running released libraries/protocol headers.
Replace BOOL with char.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a67a0217ce13865735488ccc77443e7ba7ddca30
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Feb 26 14:21:03 2009 +1000
Bump to 1.0.99.1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 0b6dfafa8b73973054b1b720dec8407f089f0341
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Feb 26 14:18:43 2009 +1000
Remove randr requirement from configure.ac
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 55509ef5ce671fb2233c06e3ea5f0cc677f9ab6e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 25 13:38:02 2009 +1000
synclient: add support for device properties.
By default, use the properties unless the -s flag is given. For -m and -h
imply SHM though.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit 4e9689aa5fdae4b7bd81f416e475ebf92b7302e1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 25 13:17:38 2009 +1000
synclient: split shm_set_value into a parse_cmd.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit e446f82cdd6ee01d4f1086add3e7a38541bbb93b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 25 10:54:35 2009 +1000
synclient: clean up a bit, namespace shm functions.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit 1eddb282ea9e7e558001a46d95ff6febec0091a0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 25 11:00:26 2009 +1000
Remove commented-out sections from configure.ac.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c14bf0f42904f900f07ec5bfd83a680b83f5f4cb
Author: Marcel Dejean <Doodle777@gmail.com>
Date: Fri Feb 13 19:13:08 2009 -0500
change magic numbers to fractions
Signed-off-by: Christoph Brill <egore911@egore911.de>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3ddc067c873479d886d6bc576db9dcb6318c88af
Author: Marcel Dejean <Doodle777@gmail.com>
Date: Fri Feb 13 19:00:07 2009 -0500
two-finger emulation through fingerWidth
Signed-off-by: Christoph Brill <egore911@egore911.de>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b0704a9d3c7a25e0b160414983025db9d14be496
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Feb 16 10:02:59 2009 +1000
Remove synSetFloatOption, use xf86SetRealOption instead.
As a side-benefit, this means float options now show up in the log too.
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>Z
commit f5bfe7f3364df330adcf07c59be93bbcb6f0b98f
Author: Ben Gamari <bgamari@gmail.com>
Date: Fri Feb 6 11:07:30 2009 +1000
Add comma after version number in configure.ac
Got lost in d8679123d921bafdac53e84a2e0337708d7c094e.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d8679123d921bafdac53e84a2e0337708d7c094e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Feb 6 09:54:36 2009 +1000
Bump to 1.0.99.
1.0.0 is out, bump master to the next level.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f92446f00aa5a916a90e2fd93333f97ea837f985
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jan 19 09:26:14 2009 +1100
properties: implement float properties.
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>
commit eda515331285962310b84cc3b3200f9ff0e98f1a
Author: Andre Herms <aherms(ae)ivs(d)cs(d)uni-magdeburg(d)de>
Date: Tue Nov 11 21:15:30 2008 +0100
use Xrecord extension for event triggered key event notification
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>
commit 97530109c3dbafe51395ea70008f594f0ce102f3
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date: Fri Jan 9 16:22:56 2009 -0800
Remove xorgconfig & xorgcfg from See Also list in man page
commit 101bb8363a99ab42f3bab3717ed60b05877f0698
Author: Christoph Brill <egore911@egore911.de>
Date: Sat Dec 20 14:17:45 2008 +0100
FDI: Add few examples suggested by Christian Schmitt <chris@ilovelinux.de>
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit 8d5cf39e7f37ce78aaec423a9da397d72b1629d2
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Dec 10 09:22:33 2008 +1000
Fix compilation issue (opts undeclared) for XINPUT ABI 0. (#18988)
HistorySize is now deprecated for ABI > 0, so list it as a removed option in
the man page.
X.Org Bug 18988 <http://bugs.freedesktop.org/show_bug.cgi?id=18988>
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>
commit 0f2802726fe7374afeca7447e3127bc1d7f3247c
Author: Fedor P. Goncharov (Fredy) <fedgo@gorodok.net>
Date: Thu Dec 4 17:16:40 2008 +0600
Auto-adjust right_edge for touchpads with hardware scroll area.
If RightEdge is specified as a config option, ignore the SpecialScrollArea.
Otherwise, adjust right_edge to the bounds of the hardware scroll area.
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>
commit 9e84eb6bd2010176c11022cb8c0af56c6e9d7663
Author: Benjamin Close <Benjamin.Close@clearchain.com>
Date: Thu Dec 4 15:59:41 2008 +1030
Use the correct header so psmcomm.h builds again
commit 1131f24a0e592c8db8f4ebe509a1cdc263be545a
Author: Benjamin Close <Benjamin.Close@clearchain.com>
Date: Thu Dec 4 15:57:03 2008 +1030
Fix typo preventing psmcomm from being enabled on BSD platforms
commit d17231161f9cebc9ba961db0dd948c996e7cc369
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Dec 3 21:57:04 2008 +1000
fdi: only match on input.touchpad, not on various product names.
We can deal with anything that has absolute x/y and pressure or touch. So
don't bother with various product names. If a touchpad doesn't work, fix it
then.
Suggested by Vojtech Pavlik.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Signed-off-by: Christoph Brill <egore911@egore911.de>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
commit 987fb075dba42d9a282bd918985f02cab101d620
Author: Fedor P. Goncharov (Fredy) <fedgo@gorodok.net>
Date: Sat Nov 29 01:33:22 2008 +0600
change type of FastTaps option to bool
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 1b941b26db760037965109b5eeeb0e3fb730a805
Author: Magnus Kessler <magnus.kessler@gmx.net>
Date: Wed Dec 3 10:17:54 2008 +1000
Export synapticsModuleData
Mark synapticsModuleData as exported so that it can be used with xorg-server
compiled with visibility flags.
Signed-off-by: Magnus Kessler <Magnus.Kessler@gmx.net>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 13c93be34dfcd0e57b14f86688fd2ad4efda028c
Author: Batchty <batchman@free.fr>
Date: Mon Nov 24 11:31:48 2008 +1000
Stop two-finger scrolling if no finger is present.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Signed-off-by: Simon Thum <eGore@gmx.de>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
commit 6cbdb0a10574d57a563337adb54afdf89996bc36
Author: Batchty <batchman@free.fr>
Date: Sun Nov 23 20:46:14 2008 +0100
Ignore moves during tap processing if no finger is down.
The Dell Inspiron 1520 with a Synaptics touchpad loves to send event like
these after every finger release :
time x y z f w l r u d m multi gl gm gr gdx gdy
1.563 3224 1625 57 1 5 0 0 0 0 0 00000000 0 0 0 0 0
1.574 3251 1632 30 1 5 0 0 0 0 0 00000000 0 0 0 0 0
1.584 3292 1673 10 1 5 0 0 0 0 0 00000000 0 0 0 0 0
1.594 1 5855 3 2 5 0 0 0 0 0 00000000 0 0 0 0 0
1.634 1 5855 1 2 5 0 0 0 0 0 00000000 0 0 0 0 0
1.746 1 5855 0 0 0 0 0 0 0 0 00000000 0 0 0 0 0
1.897 1 5855 1 2 5 0 0 0 0 0 00000000 0 0 0 0 0
Most of the time these events are ignored by the driver, but sometimes it
confuses two-finger scrolling and tap detection.
For example, in this log, the first tap is recognized, the second isn't :
time x y z f w l r u d m multi gl gm gr gdx gdy
11.597 1 5855 1 2 5 0 0 0 0 0 00000000 0 0 0 0 0
11.678 1 5855 0 0 0 0 0 0 0 0 00000000 0 0 0 0 0
11.688 1 5855 1 2 5 0 0 0 0 0 00000000 0 0 0 0 0
11.709 3862 2406 8 1 5 0 0 0 0 0 00000000 0 0 0 0 0
11.719 3851 2464 67 1 5 0 0 0 0 0 00000000 0 0 0 0 0
11.729 3849 2407 35 1 4 0 0 0 0 0 00000000 0 0 0 0 0
11.739 3858 2578 5 1 9 0 0 0 0 0 00000000 0 0 0 0 0
11.749 3858 2578 0 0 0 0 0 0 0 0 00000000 0 0 0 0 0
11.850 1 5855 1 2 5 0 0 0 0 0 00000000 0 0 0 0 0
11.860 1 5855 0 0 0 0 0 0 0 0 00000000 0 0 0 0 0
12.073 1 5855 1 2 5 0 0 0 0 0 00000000 0 0 0 0 0
12.083 1 5855 0 0 0 0 0 0 0 0 00000000 0 0 0 0 0
12.347 1 5855 4 2 5 0 0 0 0 0 00000000 0 0 0 0 0
12.357 3844 2381 56 1 4 0 0 0 0 0 00000000 0 0 0 0 0
12.377 3848 2361 32 1 4 0 0 0 0 0 00000000 0 0 0 0 0
12.388 1 5855 3 2 5 0 0 0 0 0 00000000 0 0 0 0 0
12.398 1 5855 1 2 5 0 0 0 0 0 00000000 0 0 0 0 0
12.408 1 5855 0 0 0 0 0 0 0 0 00000000 0 0 0 0 0
12.428 1 5855 1 2 5 0 0 0 0 0 00000000 0 0 0 0 0
The problem with the second tap is that the driver check if the movement from
(3848,2361) to (1,5855) is over TapMaxMove before it checks for a finger release.
So the driver considers it as a (short) finger move.
Add the condition ''the finger is still present'' to the 'move' condition, so
we ignore these moves..
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Signed-off-by: Simon Thum <eGore@gmx.de>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
commit fbcb056ea5a2fdb178c945098f55ef564e4fa5ac
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Nov 21 16:52:03 2008 +1000
fdi: make use of hal's contains_outof matcher to reduce duplication.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit 72d9bca079f40a705de5059eeea260b289d77e84
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Nov 11 09:53:17 2008 +1000
Remove ALPS special options treatment.
Don't overwrite options set earlier based on a strstr(name, "ALPS"). If
anything, the driver should just autoscale to the correct settings anyway.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
commit 471552a62e0e5ba2a274196aef62d984b83f30e6
Author: Henrik Rydberg <rydberg@euromail.se>
Date: Tue Oct 28 21:57:02 2008 +0100
Only respect MaxTapMove when appropriate
Only respect MaxTapMove with one or two fingers, and the latter only when two-finger scrolling
is enabled. (LP: #270002)
Original-Author: William Grant <william.grant@ubuntu.org.au>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 629e7345dc40c1eb0acf8a69c267711d35d4f3e3
Author: Christoph Brill <egore911@egore911.de>
Date: Thu Oct 30 23:43:13 2008 +0100
Revert "[syndaemon] use Xrecord extension in syndaemon to avoid polling."
This reverts commit 641b26da531b38313ecc68badac1a3ccfd6fc7af.
As requested by Peter Hutterer and Henrik Rydberg.
commit e52a031ac79350e7ff3a9aeb2db4c2ae2d6a8059
Author: Christoph Brill <egore911@egore911.de>
Date: Thu Oct 30 23:42:44 2008 +0100
Revert "[syndaemon] switch over to input properties"
This reverts commit 934bc0012f948c52aadc8eda912f7728fb7394a2.
As requested by Peter Hutterer.
commit 2acbd6e67c859290a37cf3134b120c5ca7577268
Author: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: Tue Oct 28 17:10:45 2008 +1030
Add support for touchpads (such as Elantech) that do not report pressure
Change the driver to react to BTN_TOUCH if device does not report
ABS_PRESSURE since there are touchpads (such as Elantech) that do not
support pressure reading but otherwise are perfectly useable in absolute
mode.
Also fix error checking of ioctl calls (positive return value is not an
error, only negative is).
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 934bc0012f948c52aadc8eda912f7728fb7394a2
Author: William Grant <wgrant@ubuntu.com>
Date: Thu Oct 16 21:39:40 2008 +0200
[syndaemon] switch over to input properties
This patch switches the daemon to use input properties. One can still
use the SHMConfig as fallback.
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit 641b26da531b38313ecc68badac1a3ccfd6fc7af
Author: Andre Herms <aherms(ae)ivs(d)cs(d)uni-magdeburg(d)de>
Date: Thu Oct 9 21:59:48 2008 +0200
[syndaemon] use Xrecord extension in syndaemon to avoid polling.
This patch prevents the polling of the keyboard state. Instead it uses the
XRecord extension of the Xserver for an event triggered notification of key
events. Of course, there is a fallback to the polling when no XRecord
extension is found. This should finally stop complains of syndaemon
preventing good power saving.
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit e7f6131b56f4785fc57f19e9feefe1e934425742
Author: Henrik Rydberg <rydberg@euromail.se>
Date: Wed Oct 15 23:39:25 2008 +0200
Provide default button emulation also for touchscreens
The new auto-detection functionality of the driver provides a default
way to produce left, right and middle clicks for all trackpads and
touchscreens, based on capabilty. However, the current code only
provides single click for touchscreens and trackpads without buttons.
This patch turns on multi-finger tapping for such devices.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Signed-off by: Christoph Brill <egore911@egore911.de>
commit 1d89a1650a140a21e9d5526c50daf56b2673dbe8
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Mon Oct 13 15:04:06 2008 +1030
Install header files in xserver's sdk dir.
Missing from 851097c45f02f2a033975cd3b2ed9490a4aa87bd. Don't install header
files in <prefix>/include, install them in <prefix>/include/xorg instead.
commit 149be75873b39e64afc5959b41360396b86fd880
Author: Henrik Rydberg <rydberg@euromail.se>
Date: Mon Oct 13 13:56:49 2008 +1030
properties: handle checkonly flag.
if checkonly is TRUE, only check the values but do not apply them. This is
achieved by working on a temporary copy of the parameters if checkonly is set,
and ditching the copy after completion.
If checkout is not set, the same code works on the actual parameters.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit db6e631d31d4ffd476ccd105f8adb8d8b4727b29
Author: William Grant <wgrant@ubuntu.com>
Date: Sat Oct 11 10:22:11 2008 +1030
Return correctly on successful property setting
TRUE was not replaced with Success when all of the other property handler
return codes were. This meant that properties ended up set in the driver but
not the rest of the server.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 863482ac1ff460d39bcf4d26c29bcda8740c41f7
Author: Magnus Kessler <Magnus.Kessler@gmx.net>
Date: Fri Oct 10 13:43:00 2008 +1030
Convert last remaining ErrorF to xf86Msg
Signed-off-by: Magnus.Kessler <Magnus.Kessler@gmx.net>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 4adaab04e903100d2c351eaeb5eeed235c32ed6f
Author: Magnus Kessler <Magnus.Kessler@gmx.net>
Date: Thu Oct 9 23:41:27 2008 +0100
Update .gitignore, ignore pkgconfig .pc files
Signed-off-by: Magnus.Kessler <Magnus.Kessler@gmx.net>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 5e8fb7f856b96adf0c8e02f6b8466ebabe8da953
Author: Magnus Kessler <Magnus.Kessler@gmx.net>
Date: Thu Oct 9 20:31:54 2008 +0200
[sparse] Fix warnings about non-ANSI function declarations
Signed-off-by: Magnus Kessler <Magnus.Kessler@gmx.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit 0da6ca4fb990a3cbd7558d4987ac946a77363f08
Author: Magnus Kessler <Magnus.Kessler@gmx.net>
Date: Thu Oct 9 20:34:27 2008 +0200
[sparse] Fix warnings about using plain integer as NULL pointer
Signed-off-by: Magnus Kessler <Magnus.Kessler@gmx.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit e30dda260b2bead539a5dd484734340ab2affdd7
Author: Magnus Kessler <Magnus.Kessler@gmx.net>
Date: Thu Oct 9 20:30:11 2008 +0200
Only include mipointer.h if supporting ancient XInput ABI version
Signed-off-by: Magnus Kessler <Magnus.Kessler@gmx.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Christoph Brill <egore911@egore911.de>
commit 6f7d206db5467a2b12c695aa71f14f097d99dfe5
Author: Magnus Kessler <Magnus.Kessler@gmx.net>
Date: Tue Oct 7 09:38:32 2008 +1030
Remove unused defines and includes
Signed-off-by: Magnus Kessler <Magnus.Kessler@gmx.net>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 299f441dc5a84f28c9b58f072797ccfc259b12c3
Author: Magnus Kessler <Magnus.Kessler@gmx.net>
Date: Tue Oct 7 09:38:01 2008 +1030
Re-introduce message about unsupported touchpad.
Was dropped with the repeater device removal.
Signed-off-by: Magnus Kessler <Magnus.Kessler@gmx.net>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 0d12b16959fdfee6b09460bd46de4f022dbba082
Author: Magnus Kessler <Magnus.Kessler@gmx.net>
Date: Tue Oct 7 09:37:42 2008 +1030
Clean up control-flow
Signed-off-by: Magnus Kessler <Magnus.Kessler@gmx.net>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit c58cc045bb2ab9607ccc2a9384ac9fbd99a5052a
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 7 15:06:24 2008 +1030
man: another typo fix.
commit e7848d5e2d159df082b4d53ac9412f2900a8b814
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 7 11:21:34 2008 +1030
man: Document multifinger-scrolling defaults.
If Protocol event is used, the driver initializes defaults based on the
capabilities reported by the kernel driver. Acceleration and edges are based
on the dimensions reported by the kernel. If the kernel reports multi-finger
detection, two-finger vertical scrolling is enabled, horizontal two-finger
scrolling is disabled and edge scrolling is disabled. If no multi-finger
capabilities are reported, edge scrolling is enabled for both horizontal and
vertical scrolling.
commit 76c9a626459a8777b87810bde9c338ea882e9d68
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 7 14:55:38 2008 +1030
man: typo fix.
commit 2e00158d61fa1c6551010fdd681b7d920eb029e5
Author: Magnus Kessler <Magnus.Kessler@gmx.net>
Date: Fri Oct 3 17:29:40 2008 +0930
Remove repeater functionality.
Remove the repeater functionality completely from the synaptics touchpad
driver. It is buggy in its current implementation and its usefulness is
questionable.
According to the INSTALL file, the repeater is there only for testing. In
fact, if a supported device is found even a configured repeater fifo is
automatically disabled. For most users the functionality is therefore
irrelevant and can be confusing. If I understand the workings of the
repeater correctly, a developer could instead just read the data directly
from an unsupported device's character special file under /dev
or /dev/input.
With today's more dynamic device configuration possibilities via udev and
hal it's also less likely that the synaptics driver would silently block
another devices data, this situation being for what the repeater
functionality seems to have been introduced in the past.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 851097c45f02f2a033975cd3b2ed9490a4aa87bd
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu Sep 25 16:19:25 2008 +0930
Install synaptics-properties.h in xorg include path, install xorg-synaptics.pc.
commit 355e845c67fffc0220c56a17b1957288c9bbadc7
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu Sep 25 16:18:10 2008 +0930
Adjust to new property API.
XIConfigureDeviceProperty doesn't exist anymore.
XIChangeDeviceProperty has two parameters less, returns status code.
Explicitly set all properties as non-deletable.
commit a9f1acfb59111ec55b983d5187a9f752d3149552
Author: Henrik Rydberg <rydberg@euromail.se>
Date: Wed Sep 17 12:17:49 2008 +0200
Corrections based on dimension analysis
The biggest change is to the speed and acceleration parameters, which should
now scale properly. Starting from one end and moving a finger really slowly
across the touchpad, the pointer should move about 40 percent of the way from
one end to the other. Repeating the process more quickly, the pointer should
move about 70 percent. Finally, moving really quickly, the pointer should
reach the the other end of the screen before the whole touchpad has been
crossed.
Settings tested on appletouch, synaptics, and bcm5974.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit c405a69f83dab77cfe6c76f718a3ca5614a85918
Author: Christoph Brill <egore911@egore911.de>
Date: Tue Sep 16 15:49:54 2008 +0200
Init x/y valuators with the axis range - if we have any.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 102d1d6cfbc1cf3df3845b56ad1deb82a40d1cb8
Author: Henrik Rydberg <rydberg@euromail.se>
Date: Tue Sep 16 01:14:49 2008 +0200
Improved defaults based on capability detection and auto scaling
This patch sets default parameters based on available buttons
and multi-touch features. It also adds auto-scaling for parameters
based on pressure and finger width.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 2edb0e87693d432cbaef5fe7aa95bbd2c73a6361
Author: Henrik Rydberg <rydberg@euromail.se>
Date: Tue Sep 16 01:04:07 2008 +0200
Revert "Add sensible fdi default for bcm5974"
The new auto-scale and capability detection renders these defaults unnecessary.
This reverts commit fd3517b14d09cc3b6625252f8fd94c863f1c9810.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit d94719f180ce4e817be2c7b70623e8d9595ca907
Author: Henrik Rydberg <rydberg@euromail.se>
Date: Tue Sep 16 01:03:44 2008 +0200
Allow arbitrary ABS ranges
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit f9a0653898631539a984852fe5e806f6a39f7fe1
Author: Henrik Rydberg <rydberg@euromail.se>
Date: Mon Sep 15 00:15:44 2008 +0200
ReadDevDimensions on opened device
The auto-dev probing requires opening the device locally to determine the type of device, so
that the right protocol can be assigned. However, all other setup work should be performed
during initialization of the assigned and opened device. This patch moves the
read-device-dimensions functionality from some special cases during the probe process to
the initialization routine, where it can be used for all supported devices.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 3097bb31a68151a953668d4581f75d3e08947d68
Author: Henrik Rydberg <rydberg@euromail.se>
Date: Fri Sep 12 10:41:59 2008 +0200
Autoscale also the MaxTapMove parameter
Make the tapping move radius 7.2 percent of the touchpad width
by default. This corresponds to the old settings of 220/3040,
but works for all touchpad sizes.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit dd7093c2ef154c6bb50032928b2f6a110b92de9c
Author: Henrik Rydberg <rydberg@euromail.se>
Date: Thu Sep 11 01:13:01 2008 +0200
Decompose SynapticsPreInit
This maintenance patch breaks out two functions from SynapticsPreInit: set_default_parameters and set_repeater_fifo.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit c916f66af51e2a5b954d62ff2b6bf854895eeeb5
Author: Henrik Rydberg <rydberg@euromail.se>
Date: Thu Sep 11 00:35:49 2008 +0200
Introduce SynapticsUnInit
This patch adds the UnInit function, which explicitly cleans up the allocated device. It also prepares for a distinction
between closing-and-reopening a device, and shutting down X. This distinction makes it possible to better keep shared
information alive.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 31f85fb3c1d1f5b2171255fdb565cb5911806ba9
Author: Christoph Brill <egore911@egore911.de>
Date: Wed Sep 10 20:56:29 2008 +0200
Bump to 0.15.2
commit 566b4dcc0b0f45ad83012314b67836ba2018cf9e
Author: Henrik Rydberg <rydberg@euromail.se>
Date: Wed Sep 10 20:53:43 2008 +0200
Do not use stale option list pointers
The xf86ReplaceStrOption may change the option list pointer. Also make sure
no stale option pointers are used after a call to SetDeviceAndProtocol().
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
commit 659c44d1049e4f6a588d40c8e0e18b390c45fa40
Author: Henrik Rydberg <rydberg@euromail.se>
Date: Mon Sep 8 00:03:17 2008 +0200
Optional: Set corner buttons to off by default
The corner button functionality might be good on some touchpads, but it seems there are more
cases where it leads to unexpected behavior. To avoid confusion, having this feature turned off
by default makes more sense. However, there might be strong opinions it, so this patch will have
to be considered optional.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
commit fd3517b14d09cc3b6625252f8fd94c863f1c9810
Author: Henrik Rydberg <rydberg@euromail.se>
Date: Sun Sep 7 23:45:27 2008 +0200
Add sensible fdi default for bcm5974
The size and motion style of the bcm5974 trackpad does not work very well with the default
settings in src/synaptics.c. This patch adds a well-tested set of default values, which will
give a pleasant out-of-the-box experience for Xorg-1.5.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
commit c57a7b463fb86d065fc6fe316ed25f302d51e5c6
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Sep 10 23:37:27 2008 +0930
Claim that we are a XI_TOUCHPAD, not a mouse.
If this still breaks with KDE, fix KDE or the server.
commit e622b00f56e455c8a48173d89cea56d1323f05d7
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Sep 9 00:27:36 2008 +0930
Improve edge autodetection and accel.
The synaptics spec specifies "typical axis ranges" for synaptics devices.
Based on these typical ranges, calculate edge coordinates and apply the same
proportions to the device at hand.
Based on the hard-coded ranges and acceleration, calculate accel for
autodetected ranges in the same proportions.
commit 05e22a584be0dbf83b5b4b72d51f7d5f59ad7334
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Sep 9 00:24:06 2008 +0930
Pre-probe the device (eventcomm only).
For auto-dev, we'd probe the device node and get the axis ranges. If we
specify the device however we didn't retrieve the axis ranges and thus got
stuck with the defaults - losing out on automatic edge and accel calculation.
This is an issue if the device is hotplugged, as HAL will specify the device
node.
This patch adds another hook to synproto_operations to pre-probe the device.
This hook is only used by eventcomm and opens the FD, queries the axis range
and closes the FD again.
commit db7dc1085e43ccdd796c67174289313ed4852c13
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Sat Sep 6 03:03:42 2008 +0930
Don't lose button up event if timeout is cancelled in the same ReadInput cycle
On a left/right button press, middle button emulation springs into action and
changes the reported hw state. It then returns a delay that is supposed to set
a timer. No button event is posted to the server, the timer ensures that it'll
be posted later.
If however - in the same cycle - the button up is reported, but with a
hardware time > middle emulation timeout, the middle button emulation is
canceled. The hw state is reset to button down, and processing continues,
reporting the button down event.
Since this is in the same cycle, the new delay overrides the previous one and
the timer is never set.
Introduce a new state into MB emulation that forces the click event if the
above situation occurs.
Red Hat Bug 233717 <http://bugzilla.redhat.com/show_bug.cgi?id=233717>
commit 5d3a47eed9f5330982d10c3acc15c486e3c86beb
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Sep 9 19:12:35 2008 +0930
Don't crash when neither Path nor Device are given.
xf86ReplaceOption doesn't seem to like NULL values
commit 53772f5c98b0ad8c0b7de14ee147c0b3faf77ca2
Author: Christoph Brill <egore911@egore911.de>
Date: Sun Sep 7 11:34:48 2008 +0200
Bump to 0.15.1
commit 50e872cbc74f6a08ac586bc5e57d7e6a9dfce06a
Author: Henrik Rydberg <rydberg@euromail.se>
Date: Thu Sep 4 00:47:53 2008 +0200
Tighter default for MaxTapMove
The range that is considered moving during tapping is somewhat generous in the default settings.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
commit 9f0da9b3144a2561f6e555e6f08e15643cfda830
Author: Henrik Rydberg <rydberg@euromail.se>
Date: Thu Sep 4 00:41:15 2008 +0200
Disentangle two-finger tap and two-finger scrolling
When two-finger-scrolling quickly and distinctly, the two-finger tapping gets activated, effectively selecting a portion of the selected text. The synaptics code already has logic to prevent taps from
being registered when the fingers move; this patch simply removes what appears to be an unnecessary assumption that only single-finger clicks needs this functionality.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
commit 89b6a9cd71f9e686c5be4da4523b86c6d7f160dd
Author: Henrik Rydberg <rydberg@euromail.se>
Date: Sat Sep 6 20:37:01 2008 +0200
Fix the "No such device" problem when reloading a driver
The xf86SetStrOption function only sets the option variable to the local default if not already
set to something else. Thus, the code which reloads a particular device by using this function
often fails, simply because the sought device name isnt set properly.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
commit 773ea37888a716656017e16ef31f843432027b66
Author: Henrik Rydberg <rydberg@euromail.se>
Date: Sat Sep 6 20:33:24 2008 +0200
Add bcm5974 to fdi/11-x11-synaptics.fdi
By adding bcm5974 to the HAL layer, the synaptics driver will be loaded by default for the new
bcm5974-based Apple macbooks Pro Penryn and Air.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
commit 0dc4a2caacda329aca7ebc81d92c37527f4c630b
Author: Christoph Brill <egore911@egore911.de>
Date: Sun Sep 7 11:21:15 2008 +0200
Add a note on how to pass options to the driver using the fdi file
commit e72df4210183d67d7ead1c514aac1c816bdd4821
Author: Christoph Brill <egore911@egore911.de>
Date: Sun Sep 7 11:18:12 2008 +0200
Update man page to contain a paragraph about fdi files
commit 608a03c74f3a19c770d511f28012e1a7cbe41fde
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date: Fri Sep 5 23:04:15 2008 +0930
syndaemon: fix BSD-specific build issues (signal related)
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 0775d5de903a604b013ec53f78fb8976bd90548d
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date: Fri Sep 5 23:01:45 2008 +0930
Fix build if we don't enable BUILD_EVENTCOMM.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 4c31e0e6bcf761c9d2d950545bf760d08149f96f
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Sep 5 19:07:38 2008 +0930
Fix build with non-property enabled servers.
Thanks to Matthieu Herrb for reporting this.
commit 6f1900bdf025880f22e3f4d2b2dd0072764b8559
Author: Fedor P. Goncharov <fedgo@gorodok.net>
Date: Wed Sep 3 19:06:32 2008 +0200
Add autodetection of right scroll wheel region with very large X coordinate
commit 5ac1ef0b9bba037a97cc1baddf7cb04a0a941462
Author: William Grant <wgrant@ubuntu.com>
Date: Sat Aug 30 18:49:49 2008 +0200
Fix two off-by-one errors in the property handling code
The attached patch fixes two off-by-one errors in the Synaptics driver's
property handling code. The result of those is that one cannot
completely set tap or click actions, as any attempt to set the correct
number of items fails.
commit 3d39926875446ef80dc7c23e1e90ce776c911f13
Author: Adel Gadllah <adel.gadllah@gmail.com>
Date: Tue Aug 26 09:32:32 2008 +0930
Re-enable TapButtons and CornerButtons to work by default.
This reverts fb98432436c5e1cc69b5f4b84f625e3700e51e04.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit a4a8e89a27f24f9c4012c2e28850f108fec7a8fd
Author: Christian Schmitt <chris@ilovelinux.de>
Date: Thu Aug 21 00:33:10 2008 +0200
Add support for Apple touchpads to the fdi file
Apple identifies their touchpads as "appletouch"
commit 30b57ad9c23c0942375cde4f2b8991b8c60b1824
Author: Christoph Brill <egore911@egore911.de>
Date: Mon Aug 18 18:28:41 2008 +0200
Use config.h if available
commit 424a8c96b121e179200d3ecc5aae24cb5445adc2
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Mon Aug 18 21:45:17 2008 +0930
Compile fixes.
Yeah, yeah. I know.
commit 59f5547d4f00cded7548b27ee780fe4c1526a087
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Aug 8 14:57:06 2008 +0930
Add support for device properties.
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)
commit 58166896c43b1eb225fef9b3c3b799619a5950bf
Author: Mattia Dongili <malattia@debian.org>
Date: Sat Jun 7 09:01:38 2008 +0200
Add 02-scandir-dev-input.patch from Debian
Scan all the event devices in /dev/input
commit b95a5684805a99b38fa3ff134113a3295d5e89b7
Author: Christoph Brill <egore911@egore911.de>
Date: Thu Aug 14 23:40:10 2008 +0200
Fix "make distcheck"
The new directory "include" was not packaged into the tarball. This makes "make
distcheck" work again.
commit 6e35b673629bb9ddee4373fbdff79238b2160cff
Author: Christoph Brill <egore911@egore911.de>
Date: Thu Aug 14 23:18:53 2008 +0200
Add .fdi file from gentoo (also used by pld)
This file causes devices having the capability "input.touchpad" to use our
driver if they were made by Synaptics or ALPS. This file might need additions
for other devices (i.e. I don't think Apple hardware is covered by this file).
Note: This file is not installed by default. Distributions are free to install
it or leave it.
commit 07ed81b7af0b63f351d9c1435309ef0a40a3aa49
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu Aug 14 14:35:10 2008 +0930
Fill up version info correctly.
commit a2e19e5cbfaf9e039f7022140d44fcc88ecd83d2
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Aug 8 16:23:45 2008 +0930
Shut up compiler warning, HandleClickWithFingers should be a void.
commit 22d1b8a4ff22d885c4a6ed1c401d790630b6ea83
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Aug 8 10:29:21 2008 +0930
Move synaptics.h into include/, create synapticsstr.h for private structs.
This just separates driver-internal stuff (synapticsstr.h) from external
stuff used for the SHM config.
commit 3a9e0ae56f755ba61c637a5cf45ecab659bca3e6
Author: Christoph Brill <egore911@egore911.de>
Date: Thu Aug 7 18:06:54 2008 +0200
Filter out .libs and .deps everywhere
commit c32b4d47b94c2c18fab7f30588ddae8827e38f27
Author: Mildred Ki'lya <mildred593@online.fr>
Date: Wed Aug 6 21:40:11 2008 +0200
Add support for reporting multiple fingers as different buttons
This adds 3 new options. Use them as follows:
Section "InputDevice"
...
Option "ClickFinger1" "1"
Option "ClickFinger2" "3"
Option "ClickFinger3" "2"
EndSection
The driver would then report:
* clicking one finger = left click
* clicking with two fingers = right click
* clicking with 3 fingers = middle mouse button
commit f04b27861983212bb6b216c589aa7b0b24256f63
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Aug 6 15:57:12 2008 +0930
Use axis ranges reported by the hardware, if possible.
The evdev kernel module provides the ability to query the axis ranges from
the device. If they are given, use those as defaults instead of the hardcoded
ones. User-specified ranges overrule any ranges reported.
commit 89b1add387b52ef55f5a8f87603153d27207e2f6
Author: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: Fri Aug 1 22:58:14 2008 +0200
Fix crash on kernels with extended keymap space
The len argument of EVIOCGBIT(ev,len) is the size of the receiving
buffer in bytes, not maximim number of bits to retrieve.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Julien Cristau <jcristau@debian.org>
commit c0096b2e3992853745edf02243b1da885ace4d03
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jul 23 15:01:31 2008 +0930
Pull in libX11 through PKG_CHECK_MODULES for syndaemon.
commit 5201054d003807ea028aab4318f0bf1eb96e63d2
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jul 23 11:11:12 2008 +0930
Move synclient and syndaemon into a /tools/ directory.
Let's keep the driver source and the client program source separate.
commit f7866a254b27fc8445eea7711a1a438257b5fab4
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jul 22 15:05:10 2008 +0930
Fix typo - xf86shmget is now shmget.
commit 8dca778b666e8abf5ff4b4c9b0445bc87499b354
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jul 22 14:51:59 2008 +0930
Plug memory leak - free synaptics private data.
When freeing priv, NULL local->priv, otherwise the server tries to free it
again later. This is a memory leak in all but the newest servers from git.
commit c11ed754e5096fa164fab7fa3c7465920e3f47ec
Author: Christoph Brill <egore911@egore911.de>
Date: Mon Jul 14 20:54:35 2008 +0200
Take other *BSDs into account, too.
commit 2cdb4bb00b3e643abe24da83a006629435fb5c5e
Author: Christoph Brill <egore911@egore911.de>
Date: Mon Jul 14 20:43:55 2008 +0200
Build psmcomm on *BSD systems only.
This is the second part of fixing the backend part of synaptics. The new build
system is now able to detect whether it's running on *BSD or on Linux and will
only build the backends that are available on these platforms. Also it will
remove any reference from the built driver to the non-available backends.
Thanks to Christian Schmitt for reporting.
commit 63d2a8ce5b34c1d98798d44842b362c4ff77d526
Author: Christoph Brill <egore911@egore911.de>
Date: Mon Jul 14 18:07:00 2008 +0200
Build eventcomm on Linux systems only.
The old buildsystem defined "__LINUX" which enabled or disabled the complete
sources for eventcomm. The new buildsystem now adds the files to build
eventcomm dynamically if the host OS is Linux. This also fixes the bug
reported by Christian Schmitt.
commit 2476f0d6c75e0a410307212e796ac72725b86931
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jul 11 20:00:26 2008 +0200
Finally change the GPL headers to MIT ones
commit a2e1f9e0a22ed0d9e7728f77978bbdace712dcae
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jul 11 19:29:58 2008 +0200
Build the manpages for the synclient and syndaemon
This uses the facilities to build the drivers man page to also build the
two configuration programs.
commit 52e395218afa01d52be8f351bd846bd0460a79cb
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 23:01:25 2008 +0200
Remove some more of the xf86*-wrapper stuff.
This is based on 04-delibcwrap.patch from debian downstream.
commit c654fffed8518c90ad92a9b97b35ec5836a93d1c
Author: Mattia Dongili <malattia@debian.org>
Date: Sat Jun 7 09:04:20 2008 +0200
Add 03-escape-dashes-in-manpages.patch from Debian
commit 51f7ce021691d796d5cc5c8017325811320df265
Merge: fb98432 7ad451d
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jul 11 18:04:53 2008 +0200
Merge commit 'origin/fedora-patches'
commit fb98432436c5e1cc69b5f4b84f625e3700e51e04
Author: Adam Jackson <ajax@redhat.com>
Date: Sat Jun 7 08:40:01 2008 +0200
Add synaptics-0.14.6-tap-to-click.patch from Fedora
Disable tap to click by default in the name of accessibility.
commit d18abb24d1519397a63fae6cf2c9c7e076005922
Author: Adam Jackson <ajax@redhat.com>
Date: Sat Jun 7 08:35:20 2008 +0200
Add synaptics-0.14.6-alps.patch from Fedora
Fix the defaults on ALPS touchpads. Values stolen from rhpxl.
commit 1d6b98a8d41815b2630e708e56ec265a83dde799
Author: Matt Domsch <Matt_Domsch@dell.com>
Date: Sat Jun 7 08:34:21 2008 +0200
Add synaptics-0.14.6-poll-200ms.patch from Fedora
commit 6c43653e137bcf422dd0a19e40cdf606957fd64a
Author: Matt Domsch <Matt_Domsch@dell.com>
Date: Sat Jun 7 08:33:49 2008 +0200
Add synaptics-0.14.6-poll-delay.patch from Fedora
commit 5dc6baf97c13f73e2640bd9d1bd452f5621129d1
Author: Adam Jackson <ajax@redhat.com>
Date: Fri Jul 11 17:57:14 2008 +0200
Unpleasant hack to make input hotplug DSCTTRT.
This also points out to the new "Path" option in the man page
commit 68df5196bcbd161db395a354ec8ccdf4735670db
Author: Adam Jackson <ajax@redhat.com>
Date: Fri Jul 11 17:53:49 2008 +0200
Pick some changes from "Make the driver actually load under the new name."
commit d0f8669fffded0cce907bebdc3957ebe27b132ba
Author: Adam Jackson <ajax@redhat.com>
Date: Fri Jul 11 17:51:24 2008 +0200
Remove some #ifdef XFREE_4_0_3
commit d6e069a2e5a2d9625d85da4d828cf370d4ddf6d6
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jul 11 17:43:20 2008 +0200
Start cleaning up the documentation
Many of the files contain redundant information. The plan is to remove most of
the (maybe even all) and add the content to the man page.
commit 9b904a2c974e6f8c7463c16dfa68b69dfbae0f83
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jul 11 00:21:03 2008 +0200
Drop old buildsystem entirely
commit 3d855248a39ed535a0486dba6e71baa4376dd8cc
Author: Christoph Brill <egore911@egore911.de>
Date: Tue Jul 8 20:39:53 2008 +0200
testing the official hosting at freedesktop.org
commit 7ad451d4c08d48f2a01d7eababc59e67f17fcffb
Author: Christoph Brill <egore911@egore911.de>
Date: Sat Jun 7 08:42:38 2008 +0200
Add minor change from synaptics-0.14.6-newx.patch
Not sure if this is still necessary (I can't test since I have a to recent
X server).
commit 15f661a88fcad64f21637582aabafe4235f5edbc
Author: Adam Jackson <ajax@redhat.com>
Date: Sat Jun 7 08:40:01 2008 +0200
Add synaptics-0.14.6-tap-to-click.patch from Fedora
Disable tap to click by default in the name of accessibility.
commit 9331aa3885184777deac93cb5a81042cf5ae3d57
Author: Adam Jackson <ajax@redhat.com>
Date: Sat Jun 7 08:35:20 2008 +0200
Add synaptics-0.14.6-alps.patch from Fedora
Fix the defaults on ALPS touchpads. Values stolen from rhpxl.
commit 468a7ed0dcf012f9d7800957566cb61b0a8aeb2a
Author: Matt Domsch <Matt_Domsch@dell.com>
Date: Sat Jun 7 08:34:21 2008 +0200
Add synaptics-0.14.6-poll-200ms.patch from Fedora
commit 31f9d5bceb05b72bec909ee6f4115ca3cae993eb
Author: Matt Domsch <Matt_Domsch@dell.com>
Date: Sat Jun 7 08:33:49 2008 +0200
Add synaptics-0.14.6-poll-delay.patch from Fedora
commit a79e9ae4ae3fd03e921ce22ddd9fb9f0be222d44
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 22:19:33 2008 +0200
Change the license to MIT
commit 2c98d6de30433dbc3915099ce4758d4f634f5506
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 21:56:59 2008 +0200
Revert "On Linux 2.6, the evdev interface provides support for requesting the"
This reverts commit e6595886d7ae3a1730cd0d9f86fd0f305c0743c2.
Conflicts:
linux_input.h
src/synaptics.c
Drop the changes from Matthew Garrett since he did not agree to the MIT license
change.
commit 7761e3903fa70aed951c0fc81b58382cf0ac6057
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 21:28:44 2008 +0200
Initial version that passes "make distcheck".
This version is able to build against latest xorg git (including xinput
changes for MPX). It incoperates many concepts stolen from xf86-input-evdev.
I'm not sure about *BSD support, but from what I understood psmcomm is only
used on *BSD whild eventcomm is only used on Linux. So I enabled the build
of these only on the given operating system. Also fix some minor issues that
are related to the old build system (VERSION_ID related).
commit da95796d0686b474ebd0752959e5d1706d82b1c3
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 20:15:56 2008 +0200
Add the automake files from xf86-input-evdev.
I forgot to add these when copying over the build system from xf86-input-evdev.
commit 2ee9ce25ee3803931a31e707673116d1de4ec363
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 20:14:44 2008 +0200
Add .gitignore
I copied over the .cvsignore from xf86-input-evdev and renamed it.
commit b4875de54977519dde30fada75527e023b032adc
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 20:12:22 2008 +0200
Rename LICENSE to COPYING.
commit d53319cf744ff0b0269be356188099b928743f4e
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 20:11:36 2008 +0200
Add the build system from xf86-input-evdev.
Copy over the build system and adapt it to our needs. Also backup the old build
so we can check if it contained anything helpful.
commit b95828616376e81b9b6bf4689b3033de3f1e8a47
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 20:08:34 2008 +0200
Add the autogen.sh from xf86-input-evdev.
We will use a similar buildsystem now.
commit 8c9f88c7fa9b800574cfa834103a3a9cbf02053d
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 20:07:01 2008 +0200
Drop the spec file for rpm packagers.
I doubt the file was still used and I don't think it belongs upstream anyway.
Next to that I think my changes will break this stuff.
commit 1a9535cdc50af8e9e47200c4bc48e27ff4c05953
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 20:05:27 2008 +0200
Move the current documents to the docs folder.
We should merge the interesting content to the manpages.
commit b570ba5943ef6876cf0c0d5affa1f6ea7fe418cb
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 20:03:59 2008 +0200
Drop now useless files.
The file "FILES" stated which files contained which content, but the list was
outdated and I dropped many of the files anyway
The "usbhid" stuff could be done better using udev rules and from what I know
(and my knowledge is rather limited) no distribution still uses the hotplug
daemon.
The "usbmouse" script was a simple wrapper for calling the synclient.
commit c371a4f435e39df115f2b04d767157ce25d35f82
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 20:00:14 2008 +0200
Drop a patch for the Linux 2.4.3 kernel.
This is a really old patch and no longer relevant.
commit 21cad8f60ac702b979cac82d3321b26845bb3e05
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 19:58:40 2008 +0200
Start moving out the docs to an appropriate directory.
We will provide the current documents in the docs directory. The interesting
stuff should be merged into the manpages though.
commit f4b1cc816e16405c9193e2986b07961ef60b73b9
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 19:56:57 2008 +0200
Rename the "manpages" directory to "man".
This way it is similar to the structure of the xf86-input-evdev driver.
commit cbfe9412455f855df76aa3a883224791f16a5d1c
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 19:53:55 2008 +0200
Drop the alps support patch for the linux kernel.
This patch was merged upstream, no need to provide it.
commit c2d1eb93b75912463f31f574d8701d8cfd9d7a18
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 19:52:22 2008 +0200
Drop old include files from the monolithic XFree86 server.
The new build system will use pkg-config to figure out the necessary includes
so we don't need to ship these.
commit e68fff0a32313bc58a55dec02baf44aaedfee56a
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 16:01:03 2008 +0200
Start adding a ChangeLog file
commit 86a5fab70ff633d40c05a37d8e9a6a8073cdb129
Author: Christoph Brill <egore911@egore911.de>
Date: Fri Jun 6 15:58:17 2008 +0200
Start reorganizing the source tree
First let's move the source and header files to a seperate source directory.
The structure of the new directory layout will be similar to xf86-input-evdev.
commit cd6a1225ec319cad9788e8fba158d9792b55de23
Author: Joseph P. Skudlarek <Jskud@briareus.(none)>
Date: Fri Jul 6 15:39:53 2007 +0200
Implement "corner coasting".
commit 80a10d7a097747fd6d7ab9806853e68601276334
Author: Peter Osterlund <petero2@telia.com>
Date: Fri Jul 6 15:25:24 2007 +0200
Update my copyright information.
commit 0ce431dc5291d95f4b3e78f9fb1c9e0be5de5abd
Author: Joseph P. Skudlarek <Jskud@briareus.(none)>
Date: Fri Jul 6 15:07:01 2007 +0200
Repair mismatch between driver and client regarding parameter names.
commit f6ccc31c29c9dfefd033ec1c5be6fdc11206bffb
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Jun 3 22:27:45 2007 +0200
Align the "synclient -l" output.
commit cab78d760ddbd26511143cfd309cfa3120864472
Author: Joseph P. Skudlarek <Jskud@briareus.(none)>
Date: Sun Jun 3 21:42:10 2007 +0200
Documentation update.
commit b54890504a17916f6633d8069164a06e42824238
Author: Joseph P. Skudlarek <Jskud@briareus.(none)>
Date: Mon May 28 12:25:39 2007 -0700
Comment out SHMConfig, and explain that it is insecure.
commit 2a946548ff6083edc3f300cb553ce45588f625ba
Author: Joseph P. Skudlarek <Jskud@briareus.(none)>
Date: Mon May 28 12:23:47 2007 -0700
Alsp documentation update.
Fix typo in prose -- no longer need to set Device;
augment example to suggest using shared memory, so can use synclient
commit 9a7ea338e558449aa62e152d7a79e8cb71224754
Author: Joseph P. Skudlarek <Jskud@briareus.(none)>
Date: Mon May 28 11:26:14 2007 -0700
Clarify that alps.patch file is not always needed.
commit e7f641b8c6d09b11dd5c93086bbc5a0b135296ea
Author: Peter Osterlund <petero2@telia.com>
Date: Thu May 17 13:31:05 2007 +0200
Document the LockedDragTimeout parameter.
commit adf4851a471963702df28522fa50cc9cab09302a
Author: Peter Osterlund <petero2@telia.com>
Date: Thu May 17 13:14:22 2007 +0200
Update the state machine diagram for locked drag timeout.
commit 7bd1b53f8e2de13436b9f71196b4b69a969a2b9f
Author: Florian Loitsch <synaptics@florian.loitsch.com>
Date: Thu May 17 13:10:30 2007 +0200
Add a timeout to locked drags.
Instead of locking indefinitely, dragging is realeased after a
timeout. By default I've set it to 5 seconds to minimize changes to
previous configurations. For me a value of 450ms works best.
New Parameter: LockedDragTimeout
commit 2d06ab1d2b3170b6fa44b945376b2ad4cd682af9
Author: Florian Loitsch <synaptics@florian.loitsch.com>
Date: Thu May 17 12:31:58 2007 +0200
Allow to easily switch between move and scroll.
To observe the behavior: move with 1 finger. During movement add a 2nd
finger. If the touchpad supports it then the driver switches
seamlessly to scroll mode. Worked on the Macbook touchpad, but failed
on some Dell touchpad.
commit 88211ca60be7cc74015ad4158722e5950884bd78
Author: Peter Osterlund <petero2@telia.com>
Date: Thu May 17 11:30:57 2007 +0200
Don't match wacom tablets in the event device probing.
commit ce686f770569a9bc1bbaca319562fe02df53b582
Author: Peter Osterlund <petero2@telia.com>
Date: Thu May 17 11:12:52 2007 +0200
Added "SONY VAIO VGN-SZ72B" and "SONY VAIO VGN-UX50" to the
compatibility list.
(From Mattia Dongili <malattia@linux.it>.)
commit 8608dea5266f4c214a54b61537d55259b0f14cbe
Author: Peter Osterlund <petero2@telia.com>
Date: Thu May 17 10:59:47 2007 +0200
Added "Fujitsu Lifebook P7120D" to the compatibility list.
(From Jeff Laughlin <jeff.laughlin@gmail.com>.)
commit 6c4c393318f33daf056cbb93f0c796719fc6a1aa
Author: Peter Osterlund <petero2@telia.com>
Date: Thu May 17 10:30:19 2007 +0200
Added "ASUS A7F" to the compatibility list.
(From Jason Brower <encompass@gmail.com>.)
commit 3452bb3431f89bac9f987cfa664b538fa9d3f09f
Author: Peter Osterlund <petero2@telia.com>
Date: Thu May 17 10:25:44 2007 +0200
Added "ASUS Z62J" to the compatibility list.
(From Vitor Pereira <racarulez@gmail.com>.)
commit 836967ff1659b89ee572b6582d218c66ef67df5b
Author: Peter Osterlund <petero2@telia.com>
Date: Thu May 17 10:21:33 2007 +0200
Added "DELL Inspiron 6000" to the compatibility list.
(From Jskud@Jskud.com.)
commit e6595886d7ae3a1730cd0d9f86fd0f305c0743c2
Author: Matthew Garrett <mjg59@srcf.ucam.org>
Date: Thu May 17 10:12:05 2007 +0200
On Linux 2.6, the evdev interface provides support for requesting the
resolution of input devices. The included patch uses this to set the
defaults for various parameters. As a result, synaptics, alps and
appletouch pads all work approximately identically without requiring
model-specific configuration. The defaults should be almost identical to
the current defaults on synaptics pads. We've shipped this code in the
current Ubuntu release (7.04) without any known user issues. This is
against current git.
commit 473912f50ffd2b26bd2f638f9d87f86cf60e2dd6
Author: Peter Osterlund <petero2@telia.com>
Date: Wed Apr 11 23:33:57 2007 +0200
Add a config option to prevent the driver from grabbing the event
device for exclusive use.
commit 1b258685118a39555616a7b3d08544162790850d
Author: Peter Osterlund <petero2@telia.com>
Date: Sat Apr 7 09:23:00 2007 +0200
Added "Acer Aspire 9301AWSMi" to the compatibility list.
(From MrPope <mrpope@wimpy.kicks-ass.net>.)
commit 0316b51286aae93c19d14bc3e54741e1dfadf34d
Author: Peter Osterlund <petero2@telia.com>
Date: Mon Mar 12 22:25:05 2007 +0100
Added "Toshiba Tecra A8" to the compatibility list.
(From Pieter Lauwers <pieter.lauwers@newtec.eu>.)
commit fe9f6d7915aac1860b6d00d74daf297e7ff3a283
Author: Peter Osterlund <petero2@telia.com>
Date: Mon Mar 12 22:24:19 2007 +0100
Added "Toshiba Satellite S3000-514" to the compatibility list.
(From Stéphane <schevalier@club-internet.fr>.)
commit 7e352bd51d00fd139898aa3b44b5bb5cd7ddaece
Author: Peter Osterlund <petero2@telia.com>
Date: Mon Jan 29 00:46:16 2007 +0100
Fix man page language inconsistency.
commit c5605b41f6e9b5de8b12c1b374f54a629901d7e5
Author: Peter Osterlund <petero2@telia.com>
Date: Mon Jan 29 00:44:01 2007 +0100
Update man page for new trackstick emulation feature.
commit 0843564d606a07f89f6653f4db917588a41d07d3
Author: Peter Osterlund <petero2@telia.com>
Date: Mon Jan 29 00:27:59 2007 +0100
Made the TrackstickSpeed option give the same speed independently of
the number of packets per second the touchpad generates.
commit 46bdefebcc32abb354355a1588ccf184cd719828
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Jan 28 23:37:55 2007 +0100
Rename the TrackstickAccelFactor option to TrackstickSpeed.
commit addb1d7ecf8bf1ad2596dd0ef20ad3ca2e755341
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Jan 28 23:21:29 2007 +0100
Small cleanup in trackstick functionality.
commit 683d78c621e506eb7e65597d35c872ba2b007e8e
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Jan 28 23:12:33 2007 +0100
Fix whitespace in trackstick patches.
commit a527e26089c05a75ecddfcf51a34400a8574e5ce
Author: Christian Thaeter <ct@pipapo.org>
Date: Wed Jan 17 19:29:12 2007 +0100
re-add instant movement detection
commit c1998581b6e6c5f7687894a83b823a33d71b2dd3
Author: Christian Thaeter <ct@pipapo.org>
Date: Mon Dec 25 15:06:58 2006 +0100
removed exp_accl
commit f2a9a0ed42b5521c8e257f31d86246d0d263f385
Author: Christian Thaeter <ct@pipapo.org>
Date: Mon Dec 25 15:06:07 2006 +0100
merged first trackstick patch
commit 5552167eec7b1b1aa57988449e737eeac4adc6df
Author: Jesper Smith <jesper@linuxdocs.nl>
Date: Sun Dec 17 21:47:04 2006 +0100
Fix to make the driver work on newest xorg GIT.
commit 0b7cbc8b109e840b313e63c23e40cdffcfcbd445
Author: Ingmar Ellenberger <ingmar@site42.com>
Date: Sun Dec 17 21:46:09 2006 +0100
Implement 2-finger emulation for ALPS touchpads.
A new parameter, EmulateTwoFingerMinZ, makes the driver emulate
2-finger scrolling (and tapping) when the finger pressure is big
enough. This is no real multi-finger detection (the ALPS hardware
can't do that), but seems to work quite well in practice.
From Ingmar Ellenberger.
commit e72e1c10e90f02c707e5ee28ff9c9e70be80e355
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Dec 17 18:46:12 2006 +0100
Corrected compatibility list entry.
commit 154a34d504533da90ca8301fa677062866a33c8c
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Dec 17 18:40:37 2006 +0100
Added "Dell Inspiron 2200" to the compatibility list.
(From Jules Richardson <julesrichardsonuk@yahoo.co.uk>.)
commit bdb4bced8e6f3944f000ecc087d2a80cbaa5f8ac
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Oct 29 09:15:41 2006 +0100
Added "Toshiba Portege R200" to the compatibility list.
(From Maximilian Schleiss <maxschleiss@bluewin.ch>.)
commit b1e237e6bede9ab04134df1dd0349c718d5bf894
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Oct 29 09:11:24 2006 +0100
Added "COMPAQ Presario V5204NR" to the compatibility list.
(From Fabio A. Correa <facorread@gmail.com>.)
commit a713bdfae66781e98790eafdc467edae633b3801
Author: Peter Osterlund <petero2@telia.com>
Date: Mon Sep 25 19:08:09 2006 +0200
Added "Acer Aspire 5670" to the compatibility list.
(From Massi Ergosum <massi.ergosum@gmail.com>.)
commit 6b90ead9f5369174e860c2eac67a85f7b1448763
Author: Peter Osterlund <petero2@telia.com>
Date: Mon Sep 25 19:05:45 2006 +0200
Added "Lenovo 3000 C100" to the compatibility list.
(From Georgios Efstathiou <gefst@yahoo.com>.)
commit 5e0942e9d2471ec6f79dae65b839f76c50d9d6de
Author: Peter Osterlund <petero2@telia.com>
Date: Mon Sep 25 18:28:22 2006 +0200
Implement a SQR macro to simplify the code.
commit e15b9432ce05a2f7182f75771f59aca9f96ce94d
Author: Peter Osterlund <petero2@telia.com>
Date: Sat Jul 15 18:06:41 2006 +0200
Changed version to 0.14.6.
commit 2de14f06e296051e544c8eb1b6f4d8ecb0478811
Author: Peter Osterlund <petero2@telia.com>
Date: Sat Jul 15 17:53:24 2006 +0200
Trivial whitespace changes.
commit adb16da39b47616ff32efe33887f11f3790fe5ce
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Jul 9 18:54:44 2006 +0200
Added "Fujitsu-Siemens AMILO A1667G" to the compatibility list.
(From Martin Wiesinger <mwiesing@web.de>.)
commit 168b6dbfcf61c6df458f420467dd0646fe994595
Author: Peter Osterlund <petero2@telia.com>
Date: Tue Jun 13 20:33:16 2006 +0200
Fix compile errors when using Xorg 7.1.
Initial patch from VMiklos <vmiklos@frugalware.org>. Somewhat
modified by me.
commit 7f1b7a4b4cd081ed5b306669e152994de719c381
Author: Peter Osterlund <petero2@telia.com>
Date: Fri Jul 7 09:29:32 2006 +0200
Added "Acer TravelMate 4672 WLMi" to the compatibility list.
(From Baute, Martin <Martin.Baute@commerzbank.com>.)
commit 2b345d0682818b425e8bd91338d472840a09fa97
Author: Peter Osterlund <petero2@telia.com>
Date: Fri Jul 7 09:08:21 2006 +0200
Added "HP Pavilion DV1475EA" to the compatibility list.
(From Giacomo Lindgren <gia@riaa.se>.)
commit b589a962cb416b03ebbd1874e1278ee7964741a9
Author: Peter Osterlund <petero2@telia.com>
Date: Fri Jul 7 09:08:19 2006 +0200
Added "Gateway MX 3228" to the compatibility list.
(From Cowboy <curt@spam-o-matic.net>.)
commit 5ff35802bf39dca7685754cf41dd21acf7b91c2b
Author: Peter Osterlund <petero2@telia.com>
Date: Sat Jun 17 18:27:09 2006 +0200
Added "Fujitsu-Siemens AMILO Si1520" to the compatibility list.
(From whoracle@warmlan.se.)
commit bfb0fe3c5ba4917f2e4c70f7572afa82d941052b
Author: Peter Osterlund <petero2@telia.com>
Date: Sat Jun 17 18:18:18 2006 +0200
Added "Apple iBook G4" to the compatibility list.
(From acrux <acrux@inwind.it>.)
commit a27d0538ac5dab3f133d6fef8137d28b3463c20e
Author: Peter Osterlund <petero2@telia.com>
Date: Sat Jun 17 18:14:57 2006 +0200
Added "Acer Aspire 5672" to the compatibility list.
(From snu@autistici.org.)
commit 2b9414dbd2e6498f56bb9ec720479bfcaa9cbf1c
Author: Mattia Dongili <malattia@linux.it>
Date: Mon Jun 5 00:23:05 2006 +0200
In the modular build case, link the driver with -lc.
All drivers that are included in Xorg 7.0 seem to be linked with -lc,
so do that also for the synaptics driver.
commit 88a74559baf756b954c6d07d4fc81042f3796916
Author: Mattia Dongili <malattia@linux.it>
Date: Sun Jun 4 23:45:35 2006 +0200
Use -fPIC when building the driver as a shared object.
commit 9ea61bd54075c8de93d6204e783ff53d2666d6fb
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Jun 4 23:44:54 2006 +0200
Don't include $(DESTDIR) in $(INSTALLED_X).
Mattia Dongili writes:
In your new release I found a little bug in the Makefile in one use of
$(DESTDIR), when assigning the $(INSTALLED_X) variable.
Since its usage is mainly to find _real_ includes, while DESTDIR is
mainly used when creating binary packages to define a different root
directory, I doubt you'll find any usable include there.
commit a3018d7f0f4ad01291da925217d9f0b420f97e5f
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Jun 4 23:44:47 2006 +0200
Fix make uninstall.
make uninstall didn't remove the driver if it was built for Xorg 7.0.
commit f5ebf048b83890dda9a9309efce826717e6f3c47
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Jun 4 01:54:16 2006 +0200
Changed version to 0.14.5.
commit bb4988f97ade7ae216ff797a96eed5ea668e9763
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Jun 4 01:24:05 2006 +0200
Fix the .spec file to make it work on FC5.
commit 1df966894abf9ee616f30ee64df7184fc5eaa2ef
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Jun 4 01:20:27 2006 +0200
Check for presence of modular Xorg in the Makefile.
commit 362706daf4484bee146157c8b0f846a392954f3b
Author: Peter Osterlund <petero2@telia.com>
Date: Sun May 14 18:19:29 2006 +0200
Added "Toshiba Portege 2000" to the compatibility list.
(From Maximilian Schleiss <maxschleiss@bluewin.ch>.)
commit 470e6feb3ac676c13868ca4fb14180d32cadfc71
Author: Vaclav Kadlcik <vaclav.kadlcik@i.cz>
Date: Sun May 7 23:14:11 2006 +0200
Add new parameter "SingleTapTimeout".
This patch adds a new parameter - "SingleTapTimeout" - to control the
"2A -> SINGLETAP" transition.
This gives greater control of tap behavior. For exmple, it is possible
to disable tap-and-drag by setting the parameter to 0.
commit 9db4f87799188c14bcb797b86f06ba59e7759535
Author: Vaclav Kadlcik <vaclav.kadlcik@i.cz>
Date: Sun May 7 22:48:05 2006 +0200
I added a note about "FastTaps" in the man page.
commit 9aeebd3f2f384695b741589d9aacc6a4723e6886
Author: Peter Osterlund <petero2@telia.com>
Date: Sun May 7 22:44:56 2006 +0200
Added "HP Compaq nw8240" to the compatibility list.
(From Vaclav Kadlcik <vaclav.kadlcik@i.cz>.)
commit b47766fe8c0fd0979f50aaa9b695d4b0ceef5a0d
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Apr 23 22:00:00 2006 +0200
Added "ASUS A6Km-Q010H" to the compatibility list.
(From Lukas <666@sendmail.cz>.)
commit b5b283fdc9c86fd959685e0a7aa3e200537d0f15
Author: Mattia Dongili <malattia@linux.it>
Date: Mon Apr 17 01:17:15 2006 +0200
Allow building a modular driver for Xorg 7.0.
commit f96473ad4ce0ae1aa7ad42900c9e4df5fb9b7b42
Author: Mattia Dongili <malattia@linux.it>
Date: Mon Apr 17 01:17:10 2006 +0200
Makes $(PREFIX) configurable on the command line.
commit 205edb2a3e4e864fba35c1f3df9ea70adf83b2b8
Author: Peter Osterlund <petero2@telia.com>
Date: Mon Apr 17 00:41:08 2006 +0200
Create a helper function to set a floating point option value.
commit 05469e3c0a27a8e52110c37f51107ec1606ddf1b
Author: Peter Osterlund <petero2@telia.com>
Date: Mon Apr 17 00:12:34 2006 +0200
There is no need to fix up invalid circular trigger values. It is OK
to behave as if the invalid value had been set from synclient.
commit 8a6b0c4bfea74dc09a73690a86788d0c1c220da2
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Apr 16 23:25:25 2006 +0200
Use a helper variable in the option parsing code.
commit 40f076f1db8b4e947aaba9e2b78a61c568b8b452
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Apr 2 08:19:09 2006 +0200
Implemented two-finger vertical and horizontal scrolling.
Patch from Stefan Bethge <stefan@lanpartei.de>, somewhat modified by
me.
commit 38074afb0a6ee57f7bd7c5a967bd22e922059321
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Mar 19 08:08:21 2006 +0100
Small manpage clarification.
commit a9e1b9a3756cbd8a4d3b425d7dbe9d1b44a8cb02
Author: Peter Osterlund <petero2@telia.com>
Date: Sat Mar 18 10:12:47 2006 +0100
Added "ASUS A6VA" to the compatibility list.
(From Cherwin Nooitmeer <cherwin@gmail.com>.)
commit 2a16677ee65dac497ce21179d7987aecfc23e31b
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Mar 12 10:23:47 2006 +0100
Added "ASUS Z71V" to the compatibility list.
(From Jared Pedroza <jpedroza@strudelhosen.com>.)
commit f9c8374a7b238d70169a1eb6ed47c0e7eb65c297
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Feb 5 20:31:03 2006 +0100
Added "Acer TravelMate 2310" to the compatibility list.
(From Giuseppe Arecchi <giuseppe.arecchi@gmail.com>.)
commit 14ce35c6a4e56f8d4d17238a4d17334aa1b0cfa4
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Feb 5 20:27:58 2006 +0100
Added "Acer 8104 WLMi" to the compatibility list.
(From Arne Anka <arne.planka@gmail.com>.)
commit 13f57dbf259347be9ba07be6bffd397f87ac8628
Author: Peter Osterlund <petero2@telia.com>
Date: Mon Jan 23 00:34:03 2006 +0100
Added "Toshiba Satellite P25-607" to the compatibility
list.
(From sam@evolving.org)
commit 1ecc83de4561506b5a1e293ab689ae5faebd0a81
Author: Peter Osterlund <petero2@telia.com>
Date: Mon Jan 23 00:21:34 2006 +0100
Added a link with information about horizontal scroll
problems in Mozilla.
commit 324f3595c91b6298480f6ee6815e5ac6ce00a4a5
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Jan 22 11:33:16 2006 +0100
Whitespace cleanup.
commit 6664d2757a0906713a2ee0ca1613c67fcd103f9c
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Jan 22 11:30:06 2006 +0100
Whitespace cleanup.
commit 455bb31fdeb69c73b742c8e4e605d4a706f6d652
Author: Peter Osterlund <petero2@telia.com>
Date: Wed Jan 11 21:03:05 2006 +0100
Added "ASUS A3500L" to the compatibility list.
(From Aaz <pffan@mail.ru>.)
commit a871d7011f2199459c48f92fa9724be5c4d8611b
Author: Peter Osterlund <petero2@telia.com>
Date: Wed Jan 11 21:00:06 2006 +0100
Added "IPC Powernote S" to the compatibility list.
(From Lynne Cahill <lynneca@sussex.ac.uk>.)
commit 1febb83f62df9615194f906cc986657185e4a09c
Author: Peter Osterlund <petero2@telia.com>
Date: Wed Jan 11 20:57:05 2006 +0100
Added "HP Compaq NC6000" to the compatibility list.
(From PALFALVI Attila <paf@mm.bme.hu>.)
commit d2d78a9ca443f0ab079157ae6dffef1035f813a6
Author: Peter Osterlund <petero2@telia.com>
Date: Sat Dec 17 10:21:11 2005 +0100
Added "Acer Aspire 3023" to the compatibility list.
(From Pim Nijdam <pim.n@xs4all.nl>.)
commit d8b4f75144b2d4ac6d09b13a74d069b0d6878fb0
Author: Peter Osterlund <petero2@telia.com>
Date: Sun Dec 11 11:03:51 2005 +0100
Reverted change 6ad7b8219959c84c77a24c733df8c0fbed7a4c94. The Gentoo
maintainer, Kevin F. Quinn
<kevquinn@gentoo.org> and/or Seemant Kulleen <seemant@brontes3d.com>,
says it causes problems.
commit a0aa688844d454c4f8d80e419174144824906ab5
Author: Peter Osterlund <petero2@telia.com>
Date: Mon Nov 14 21:45:04 2005 +0100
Implemented pressure dependent motion speed. Patch from
St