X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Virus-Scanned: amavisd-new at neurotica.com Message-ID: <4E879AA7.3040403@neurotica.com> Date: Sat, 01 Oct 2011 18:56:39 -0400 From: Dave McGuire User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15 MIME-Version: 1.0 To: geda-user AT delorie DOT com Subject: Re: [geda-user] remapping mouse events in gschem? References: <4E876677 DOT 1060109 AT neurotica DOT com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: geda-user AT delorie DOT com On 10/01/2011 06:25 PM, Peter C.J. Clifton 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. This works perfectly, thank you! > 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? If that means "smooth scrolling" rather than "jumping in chunks", yes. > Try (scrollpan-steps -8) if you want that, the code comments seem to > suggest this is possible. I tried that; I was expecting smaller steps to the scrolling, but it didn't seem to have any effect. I'd dearly love a less "jumpy" scrolling action. But frankly, having two-axis scrolling as above is a huge deal in itself! -Dave -- Dave McGuire Port Charlotte, FL