This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Trackpoint support?


Jerry,

In this case you're going to have to do some investigation to find out how
the Trackpoint driver emulates a mouse wheel.  It is obviously not sending
the WM_MOUSEWHEEL message (like the Intellipoint and Logitech drivers) or
else we'd catch them and handle the wheel functionality correctly.  I hope
that the Trackpoint driver doesn't do some chintzy mechanism of finding the
scrollbar attached to the window with the keyboard focus and sending
messages directly to that scrollbar (I'm pretty sure that this is the way
that initial mouse wheel support worked in a lot of drivers).  In that case
we won't really be able to do anything, since we don't have a scrollbar of
our own.  Then again... maybe we could add an invisible scrollbar that would
catch all such messages and generate X messages for them... that may not be
too hard.

In any case, report the findings of your investigation to the mailing list
and we'll see what we can do.

Harold

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Gerald S. Williams
> Sent: Wednesday, May 22, 2002 11:59 AM
> To: cygwin-xfree@cygwin.com
> Subject: Trackpoint support?
>
>
> I'm using an IBM T21 Thinkpad w/Win2K & Cygwin/XFree86 4.2.0 installed
> via Cygwin setup:
>
> My computer has a trackpoint mouse and a third button that is supposed
> to let it scroll like an enhanced wheel. But it doesn't work under X.
>
> Has anyone already looked into making something like this work under
> Cygwin/XFree86? I didn't find anything in the FAQ/Manual. Google came
> up with a number of solutions for Linux/XFree86, but all required new
> drivers. Perhaps I need a Windows driver that makes it look more like
> a wheel mouse? The latest driver from IBM doesn't help (I'm not sure
> how it scrolls, though--it can scroll on both axes).
>
> I think the driver at http://rsim.cs.uiuc.edu/~sachs/tp-scroll/ does
> what I want (allowing the scroll button to double as a middle button),
> but again that's for Linux. I could live with using -emulate3buttons
> and just using the scroll button for scrolling.
>
> For now, I turn the scroll button into a middle button. I didn't find
> any info on turning middle-button/mouse-moves into scroll actions, but
> that would be another way to approach the problem.
>
> -Jerry
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]