delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
X-Cam-AntiVirus: | no malware found |
X-Cam-SpamDetails: | not scanned |
X-Cam-ScannerInfo: | http://www.cam.ac.uk/cs/email/scanner/ |
Date: | 01 Oct 2011 23:25:30 +0100 |
From: | "Peter C.J. Clifton" <pcjc2 AT cam DOT ac DOT uk> |
To: | geda-user AT delorie DOT com |
Subject: | Re: [geda-user] remapping mouse events in gschem? |
Message-ID: | <Prayer.1.3.4.1110012325300.9767@hermes-2.csi.cam.ac.uk> |
In-Reply-To: | <4E876677.1060109@neurotica.com> |
References: | <4E876677 DOT 1060109 AT neurotica DOT com> |
X-Mailer: | Prayer v1.3.4 |
Mime-Version: | 1.0 |
Sender: | "Peter C.J. Clifton" <pcjc2 AT hermes DOT cam DOT ac DOT uk> |
Reply-To: | geda-user AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-user AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Oct 1 2011, Dave McGuire wrote: > > Hey folks. Is there a way to remap mouse events in gschem? I am >using a gesture-capable trackpad (an Apple desktop trackpad under Linux) >and I'd like to use two-finger scrolling to pan the schematic sheet in X >and Y. It already works for X, but moving in the Y dimension performs >the zoom in/zoom out function that is standard (and wonderful) for >scroll wheels on mice. With the trackpad, though, I constantly find >myself wanting to pan in both axes with two fingers. > > If this is configurable in some way, can someone point me in the >right direction? Yes - I do this out of preference anyway - IMO, the mouse _scroll_ wheels / touch areas should scroll the viewport, never zoom it. What I do is put in my ~/.gEDA/gschemrc: (scroll-wheel "gtk") as opposed to the default (scroll-wheel "classic") This makes zoom a Ctrl modified vertical scroll, and the unmodified scroll actions just move the viewport. You might even be able to set the gains to negateive of their normal numbers to enable a kind of "natural scrolling" feature - I believe that is common on Mac? Try (scrollpan-steps -8) if you want that, the code comments seem to suggest this is possible.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |