Rahul Siddharthan wrote:
Marcin Dalecki wrote:

Here is my first cut at support for the Synaptics touchpads, which are
commonly used on notebooks. Contrary to the default "Windows
installation mode" those devices come up at boot, this is enabling
full support for all buttons present on the device and works nicely
with moused together.

I just tried it.  Couple of issues:

1. The "speed" of the pointer on the screen is way faster now.  I
corrected that with some XF86Config options.
Yes that was intentional, since there are two ways to
scale the speed, namely moused and XFree. However the speed you
can see is already scaled down by an significant amount anyway.
Unfortunately the current sysmouse dosn't understand a witt
about absolute mouse coordinates as far as I understand the code...

2. The pad has 4 buttons; left and right work as before. In between,
there are a small up and down button. Now the up button acts as the
middle button (button 3?) -- ie I can paste with it. The down button
still does nothing. I tried playing with the moused parameters and
the XF86Config ZAxisMapping settings, to no avail.
Well for certain the down button does something in esp. it is posting
button 4 events. Watch out xev please - you should see it there.
Having a middle button was the reaon per se I did this hack in first place, so
this choice of numbering is likely here to stay.

3. Earlier, tapping on the touchpad would emulate a left click.  It
no longer does anything (not sure whether that's good or bad).
Yes this kind of functionality is still not there, since it would involve
quite a lot of code, which I didn't find apriopriate to place in kernel
space.

What I'd like is to emulate 3 buttons with simultaneous left-right
clicking, as before; have the "up" button behave like scrolling a
mousewheel up; and have the "down" button behave like scrolling a
mousewheel down. I thought the Option "ZAxisMapping" "4 5"
    Option Buttons 5?
in XF86Config, and
  moused -m 4=3 -m 5=4
would do it.  But no luck (though the above moused options do stop the
up button from acting like a middle button).
moused -m 4=2 -m 5=4 should do it.

left  is 1
up    is 2
right is 3
down  is 4

Any ideas, anyone?
Yes. The next cut should define a custom SYNAPTICS mouse protocol and move
the whole logics out of the kernel to moused. There it should
be possible to implement all the extendid features one desires without
too much hassle. And without in esp. frequent reboots due to kernel crashing :-).

Thanks
I'm glad this thingee works not just for my own hardware. Would
you dare to report the firmware version on your system.

Rahul



--
	Marcin Dalecki


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to