This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: Trackpoint support?
- From: Harold L Hunt <huntharo at msu dot edu>
- To: "Gerald S. Williams" <gsw at agere dot com>, cygwin-xfree at cygwin dot com
- Date: Thu, 23 May 2002 10:22:08 EDT
- Subject: RE: Trackpoint support?
Jerry,
Now that is what I like to see: a user working with us to answer their own
questions. I wish we had more people like you!
I'll add something about this to the FAQ within a week or two.
You'll be credited with the discovery, of course.
Harold
"Gerald S. Williams" <gsw@agere.com> said:
> Harold Hunt wrote:
> > In this case you're going to have to do some investigation to find out how
> > the Trackpoint driver emulates a mouse wheel.
>
> Done.
>
> I found out that there is a special configuration file for the
> trackpoint driver. It's in /WINNT/System32/tp4table.dat in my
> case, although it looks like in the beta driver they've renamed
> it to tp4scrol.dat.
>
> The beta driver's at http://wwwcssrv.almaden.ibm.com/trackpoint
> (thanks to Scott Brim for the reference), although I was able
> to make my current driver work.
>
> I simply added the following to the end of the "Pass 0 rules"
> in that configuration file and rebooted:
>
> ; X Windows
> *,*,XWin.exe,*,*,cygwin/xfree86,WheelStd,0,9
>
> That tells the driver to use Wheel messages as opposed to
> whatever it normally does. Since the driver is capable of
> scrolling in both directions, it probably does look for the
> scrollbars by default. I was guessing a bit about what to
> put in this entry, although that one seems to work.
>
> Unfortunately, this doesn't allow the button to work as a
> middle button as well, but -emulate3buttons works for me.
>
> -Jerry
>