cyapa - Adjust button and multi-touch handling a bit
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 9 Jan 2014 03:22:00 +0000 (19:22 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 9 Jan 2014 03:26:55 +0000 (19:26 -0800)
commit420084e35bdb6ab8d674f0e11b42e8ea7e16157a
treef155e0372e7ff27b92d53b0c3fdbbb87f5501f9e
parent50c98b144bedf5a6cc3a95136dbb5ecaf2af603a
cyapa - Adjust button and multi-touch handling a bit

* If you finger-move more than 16 pixels, the button press will always
  be registered as a LEFT button press.

  This makes it much easier to move around the pad and hit GUI buttons, move
  windows around, etc.

* Three fingers simulates the left button without actually having to hit it.
  (it's too easy to accidently have two fingers down so we don't simulate
  the left button with two fingers).  This makes it even easier to move
  windows around and hit GUI buttons.

* If you just hit the button without a finger-move, the button press will
  be LEFT, MIDDLE, or RIGHT depending on where you are on the pad, as before.

* Track identifiers when multiple fingers are down.  The trackpad can track
  up to 5 fingers.  Use the identifier tracking to avoid jumping the
  coordinates to a different finger (which would cause the mouse to jump).

  This results in much easier mouse movement.
sys/dev/smbus/cyapa/cyapa.c