Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Nov 2008 19:08:10 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/adb adb_mouse.c
Message-ID:  <200811021908.mA2J8HDJ015182@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2008-11-02 19:08:10 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/adb          adb_mouse.c 
  Log:
  SVN rev 184565 on 2008-11-02 19:08:10Z by ed
  
  Make the touch pad on my PowerBook G4 12" a little more usable.
  
  For an unknown reason the touch pad of my PowerBook generates button 5
  events when you operate it. This causes the adb_mouse code to convert
  them to button 2 events, which is not what we want.
  
  Add a new flag, AMS_TOUCHPAD, which is used to distinguish the touch
  pad. When set, don't convert button events of unknown buttons to the
  last button.
  
  There are still three problems left with respect to user input:
  
  - The mouse button events are not properly processed when the touch pad
    isn't touched.
  
  - The arrow keys on the keyboard don't work inside X11.
  
  - The power button isn't handled by the kernel, similar to the ACPI
    power button on i386/amd64.
  
  Approved by:    nwhitehorn
  
  Revision  Changes    Path
  1.3       +18 -7     src/sys/dev/adb/adb_mouse.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811021908.mA2J8HDJ015182>