You are not logged in.

#1 2012-10-02 12:04:09

nagaseiori
Member
Registered: 2012-09-22
Posts: 72

Pinch zoom on Synaptics touchpad?

I have a Synaptics touchpad that supports nearly everything, according to this, and I would like to configure it to get pinch zoom working. In Windows pinch zooming works, so it's not a hardware issue. How would I go about doing this? Ideally, I would like it to emulate Ctrl+scrolling, so it could work on Chromium and Gimp.

Offline

#2 2012-10-02 12:20:20

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,033

Re: Pinch zoom on Synaptics touchpad?

Afaik it comes down to whether your window manager is set up for this. What wm are you using?


You're just jealous because the voices only talk to me.

Offline

#3 2012-10-02 21:33:33

nagaseiori
Member
Registered: 2012-09-22
Posts: 72

Re: Pinch zoom on Synaptics touchpad?

I'm using dwm.

Offline

#4 2012-10-03 05:12:03

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,033

Re: Pinch zoom on Synaptics touchpad?

I opened xev from a terminal to see what was reported when I tried a pinch and I kept getting different results from button 4-7. Evidently you need something like https://aur.archlinux.org/packages.php?ID=46809 to get the correct gesture. Then you need to find/make a function in dwm to use it.
HTH


You're just jealous because the voices only talk to me.

Offline

#5 2012-10-03 05:44:58

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Pinch zoom on Synaptics touchpad?

I have never heard of this "touchegg" before, so I am unsure of what it does.  But this is probably what you are looking for https://aur.archlinux.org/packages.php?ID=41592 .  There is also xf86-input-multitouch-git as well as xf86-input-mtrack-git.  Do a search in the AUR for xf86-input

Offline

#6 2012-10-03 08:40:05

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Pinch zoom on Synaptics touchpad?

WonderWoofy wrote:

I have never heard of this "touchegg" before, so I am unsure of what it does.  But this is probably what you are looking for https://aur.archlinux.org/packages.php?ID=41592 .  There is also xf86-input-multitouch-git as well as xf86-input-mtrack-git.  Do a search in the AUR for xf86-input

Those are the X (low-level) touchpad drivers, but an application (window manager or standalone) is also needed to translate gestures to actions/commands.

- Touchegg is a QT program
- Easystroke is a GTK-program

Both pull in huge amounts of dependencies (100-200MB) to do something quite simple, so they are generally not what you want when using DWM.

The most simple solution i have come across is this Perl approach:

http://www.ibm.com/developerworks/opens … index.html

Which is more or less a proof-of-concept, it uses a high-res timer module from CPAN for accuracy. I haven't tried it myself so i don't know how well it works, but it probably requires more work since it doesn't have a spiffy UI with settings but is a hardcoded script.

Ideally you'd want a really simple/small utility that lets you map context-aware gestures to commands. For instance:

[Window: Chromium] 2-finger swipe-left == Mod1-arrowleft
[Window: generic] 3-finger swipe-up == exec dmenu_run

Last edited by litemotiv (2012-10-03 09:03:39)


ᶘ ᵒᴥᵒᶅ

Offline

Board footer

Powered by FluxBB