Under Windows the versapad touchpad (found on Sony Vaio 505T[SRX]
laptops) drivers support 'wheel mouse' emulation when you drag your
finger up and down the far right hand side of the pad. I have
written a patch to the mouse driver for the versapad device to
support this under FreeBSD. Most people I know who run OSes that
don't support this emulation are pretty excited about this patch
so I think it'd be cool to get it into the main distribution. I've
been using it for several weeks now with no problems. Scrolls up
and down the right hand side now generate z-movement events. It's
well behaved so it doesn't mistake slides right and then up as z.
Only moves that originate on the right hand side generate z events
and so there's no chance of accidentally causing unwanted z events.
This is ny first look at FreeBSD code so apologies if I've screwed
anything up. But applying the patches works for me. I haven't
figured out yet how to make this optiion nicely switchable from a
config file - or even better from rc.conf.
Fix: Here are the patches:
I'll look at committing a variant of this patch.
Release this back into the pool until I have more time to look at it.