Has anyone had trouble getting the big one-button style touchpads to work?
Ive got a Lenovo L440 and both taps and clicks only register as a left click, no matter where I touch the pad. Ive tried playing around with the button number in the input settings to no avail. Thus far Ive been using the ctrl-click method, but there are frequently corner cases where that is awkward/doesn’t work.
As a related, but less important, aside: is there a driver or daemon or something in Haiku to handle multitouch gestures? Eg in Gnome, three finger swipes can switch desktop, etc.
I own the same unit and I have the same problem. I think it is a known issue, but please check bug tracker and file an issue.
Short answer: no
Long answer: There are two kind of devices capable of multitouch events: Touchpads and touchscreens. We have some basic support for touchpads and no support at all for touchscreens with multitouch. That last one is something I am working on.
Once we have proper drivers, generating messages with those events shouldn’t be difficult.
Until there is a properly working driver, you should be able to set your mouse as “1 button” in input preferences, and in that case, you can use command + click and/or long click in places where a right click would normally work.
Not great, but we don’t have a better solution for now.
When you tap with two fingers, driver reports 0 clicks, 2 fingers and 0 fingerWidth. It looks like Input Server side isn’t using fingers field at all. I am not sure even if this data makes sense, to be fair.
I have another Lenovo (Thinkpad E330) which touchpad works properly, I need to check what events is that touchpad sending.
There are several variants of touchpads and of the protocol used. In some cases the touchpad will send the “raw” data (number and position of the fingers) and in some cases it will do some preprocessing and instead generate the right click event by itself.
It looks like tap code is on input server device. I’ve done an ugly patch using finger count provided from driver and it kinda works. Main problem is, it fails very often. Maybe the code needs some sort of filtering or I’ve just introduced a bug. Another issue is, I can right-tap on desktop and it works (pop-up menu pops :D) but It doesn’t work on top of a file or folder :\