[haiku-commits] r33635 - haiku/trunk/src/add-ons/kernel/bus_managers/ps2

  • From: clemens.zeidler@xxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 18 Oct 2009 12:40:19 +0200 (CEST)

Author: czeidler
Date: 2009-10-18 12:40:19 +0200 (Sun, 18 Oct 2009)
New Revision: 33635
Changeset: http://dev.haiku-os.org/changeset/33635/haiku

Modified:
   haiku/trunk/src/add-ons/kernel/bus_managers/ps2/ps2_synaptics.c
Log:
Disable tap click when sensibility is 0. otherwise very hard taps could still 
cause a click. This should fix #4669.



Modified: haiku/trunk/src/add-ons/kernel/bus_managers/ps2/ps2_synaptics.c
===================================================================
--- haiku/trunk/src/add-ons/kernel/bus_managers/ps2/ps2_synaptics.c     
2009-10-18 10:28:45 UTC (rev 33634)
+++ haiku/trunk/src/add-ons/kernel/bus_managers/ps2/ps2_synaptics.c     
2009-10-18 10:40:19 UTC (rev 33635)
@@ -215,6 +215,7 @@
                / (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;


Other related posts:

  • » [haiku-commits] r33635 - haiku/trunk/src/add-ons/kernel/bus_managers/ps2 - clemens . zeidler