gEDA-dev: [patch] keyboard panning support

Tomaz Solc tomaz.solc at tablix.org
Thu Jul 27 05:41:13 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi again

This is another patch (for CVS head) that provides four new scheme
callbacks for keyboard shortcuts: "view-pan-left", "view-pan-right",
"view-pan-up" and "view-pan-down". It also adds a new integer
configuration variable "keyboardpan-gain".

By binding these callbacks to cursor keys it is now possible to move the
viewport only by using the keyboard. The "keyboardpan-gain" controls how
much the viewport moves for each keypress.

Rationale behind this patch:

I've been using XCircuit for quite a few years and I am now trying to
move to GSchem. I found the "x" keyboard shortcut (view-pan-hotkey) and
right mouse button panning to be a bit awkward compared to just pressing
the cursor keys (like in XCircuit). Also at the moment the cursor keys
do not appear to be used for anything.

I hope this patch doesn't count as a major change :)

Best regards
Tomaz Solc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEyIo4sAlAlRhL9q8RAs0rAKCEBirCkIEnr76IJhb63fLHC+I6gwCeITsY
GZlHtrc0pVy4u9nmVKjSDao=
=pCpQ
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gschem_keyboardpan.patch
Type: text/x-patch
Size: 8510 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20060727/1bc771a6/gschem_keyboardpan.bin


More information about the geda-dev mailing list