Disable tap click when sensibility is 0. otherwise very hard taps could still cause a click. This should fix #4669.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33635 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler 2009-10-18 10:40:19 +00:00
parent 978c92db2f
commit c0e2df641b

View File

@ -215,6 +215,7 @@ move_to_movement(synaptics_cookie *cookie, touch_event *event,
/ (MAX_PRESSURE - MIN_PRESSURE - 100);
if (!cookie->tap_started
&& isStartOfMovement
&& settings->tapgesture_sensibility > 0.
&& settings->tapgesture_sensibility > (20 - pressure)) {
TRACE("SYNAPTICS: tap started\n");
cookie->tap_started = true;