gslx680-acpi icon indicating copy to clipboard operation
gslx680-acpi copied to clipboard

Right click?

Open sigboe opened this issue 8 years ago • 4 comments

How do I configure right click to work, either two finger or long press is sufficient for me.

I tried adding these lines

Option "EmulateThirdButton" "1"
Option "EmulateThirdButtonTimeout" "750"
Option "EmulateThirdButtonMoveThreshold" "30"

into the same section statement as the calibration data from xinput_calibrator but longpress does nothing.

sigboe avatar Jan 29 '16 18:01 sigboe

There are multiple reasons why this does not work right. Touchscreen input has a lot of jitter and I'm not doing anything to reduce it in the driver. So, a "long" click may instead be recognized as a drag or multiple clicks. I'll see if finger tracking can be tuned a little.

I've had multitouch working occasionally, which may also be used to emulate second and third button clicks.

onitake avatar Jan 31 '16 22:01 onitake

I would be happy with two finger click! Or long press, anything really.

sigboe avatar Feb 01 '16 02:02 sigboe

Might having the correct resolution in the firmware, and not needing xinput calibration help with the jitter?

sigboe avatar Feb 02 '16 10:02 sigboe

Good question. I think it will surely help with touch detection close to the edges, but jitter also affects finger tracking, and that happens before scaling. Guess I need to check how other drivers do it.

In any case, finding out the correct dimensions is still a good idea.

onitake avatar Feb 04 '16 18:02 onitake