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/ Message-ID: <1318238253.18334.1.camel@localhost> Subject: Re: [geda-user] PCB scrolling configuration From: Peter Clifton To: geda-user AT delorie DOT com Date: Mon, 10 Oct 2011 10:17:33 +0100 In-Reply-To: <4E923EA3.4030805@neurotica.com> References: <4E923EA3 DOT 4030805 AT neurotica DOT com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-zWq8/DsXB0flC/9nnqfx" X-Mailer: Evolution 3.2.0- Mime-Version: 1.0 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 Precedence: bulk --=-zWq8/DsXB0flC/9nnqfx Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2011-10-09 at 20:38 -0400, Dave McGuire wrote: > Hey folks. Recently, Peter Clifton helped me set up horizontal and=20 > vertical scrolling in gschem via the gesture interface in Ubuntu Linux,= =20 > using an Apple trackpad. Well, my schematic is done, now I'm starting= =20 > the PCB layout. Can I do the same with PCB? This works great in=20 > several other apps, like Firefox and gschem. This is the delta I apply to gpcb-menu.res Author: Peter Clifton Date: Wed Oct 5 23:09:54 2011 +0100 Change scroll-wheel bindings to match more GTK applications diff --git a/src/gpcb-menu.res.in b/src/gpcb-menu.res.in index 7e63811..1b85893 100644 --- a/src/gpcb-menu.res.in +++ b/src/gpcb-menu.res.in @@ -25,18 +25,18 @@ Mouse =3D up-shift-ctrl =3D { Mode(Notify) Mode(Restore) Display(ToggleRubberbandMode)=20 } Up =3D { - Zoom(0.8) - shift =3D Scroll(up) - ctrl =3D Scroll(left) + Scroll(up) + shift =3D Scroll(left) + ctrl =3D Zoom(0.8) } pcjc2 AT pcjc2lap:~/gedasrc/pcb/git$ git log -p HEAD^^^^^^^..HEAD^^^^^^ | cat commit 80b304f0952c82441a17f07f5701d25e92385f8e Author: Peter Clifton Date: Wed Oct 5 23:09:54 2011 +0100 Change scroll-wheel bindings to match more GTK applications diff --git a/src/gpcb-menu.res.in b/src/gpcb-menu.res.in index 7e63811..1b85893 100644 --- a/src/gpcb-menu.res.in +++ b/src/gpcb-menu.res.in @@ -25,18 +25,18 @@ Mouse =3D up-shift-ctrl =3D { Mode(Notify) Mode(Restore) Display(ToggleRubberban= dMode) } } Up =3D { - Zoom(0.8) - shift =3D Scroll(up) - ctrl =3D Scroll(left) + Scroll(up) + shift =3D Scroll(left) + ctrl =3D Zoom(0.8) } Down =3D { - Zoom(1.25) - shift =3D Scroll(down) - ctrl =3D Scroll(right) + Scroll(down) + shift =3D Scroll(right) + ctrl =3D Zoom(1.25) } # If you want zoom to center, do this instead. - #Up =3D { {Zoom(0.8) Center()} } - #Down =3D { {Zoom(1.25) Center()} } + #Up =3D { ctrl =3D {Zoom(0.8) Center()} } + #Down =3D { ctrl =3D {Zoom(1.25) Center()} } } =20 MainMenu =3D --=20 Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me) --=-zWq8/DsXB0flC/9nnqfx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAABAgAGBQJOkrgtAAoJEOo4D/b1x+QVyh4H/3aQluzNWS0PJiEOF47e34E5 NXAEVlpN/4RwruCw5o5iD+L1coMedObAJMEL81ri/4CgXzXytcvFyGYurCLah9AP uitNm52JtlJILHaVWtYjRVvD/b8dx4UhDNTgwx/hGxYeNh+rmUtazw2B6j37WBob 7RGH5hzkZQKN3YD1YqLLU4nZuEVLi+l604w6gRejr4p5ql0CsmGrU7NI1PeTtyUH bZDCdhJgwB6GhKDCe7t2neVtEVrMNforVjfArzsiOOq1y07gqzydUGzh5Fn2isbs gcwh2gYyKWS8rxNh/xWJOozzHRc9D5RyhVOgo8ZGpVJd8TIQH+Q1v6ZuU4hw9zQ= =qkLI -----END PGP SIGNATURE----- --=-zWq8/DsXB0flC/9nnqfx--