git: cyapa - Adjust button and multi-touch handling a bit

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jan 8 19:31:45 PST 2014


commit 420084e35bdb6ab8d674f0e11b42e8ea7e16157a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jan 8 19:22:00 2014 -0800

    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.

Summary of changes:
 sys/dev/smbus/cyapa/cyapa.c | 68 ++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 58 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/420084e35bdb6ab8d674f0e11b42e8ea7e16157a


-- 
DragonFly BSD source repository


More information about the Commits mailing list