ID: | 3535 |
From: | ge...@igor2.repo.hu |
Date: | Sun, 10 Nov 2019 18:00:10 +0100 (CET) |
Subject: | no-mouse (was: Re: [pcb-rnd] PCB-RND on PIC32...?!) |
in-reply-to: | 3532 from ge...@igor2.repo.hu |
On Sun, 10 Nov 2019, gedau@igor2.repo.hu wrote: >Usability is not very good out-of-the box, because there's no 3 mouse >buttons, but it's still usable with keyboard to a reasonable level (and >the N900 does have a physical qwerty keyboard). I guess I could tune the >menu file a bit for better zooming with key+touchscreen combos. I've added new keyboard shortcuts in the default menu file: ctrl+arrow keys will scroll. I've also added {j hjkl} and {k hjkl} cursor movements because some small keyboards won't have arrows. Plus multi-key bindings to left and right click on the drawing area. These, together with our other keys make pcb-rnd somewhat usable even without any kind of mouse/touchscreen. The multi-key bindings (instead of heavy use of shift, ctrl, alt or even combinations of them) makes it much better on tiny keyboards. Here's a short summary on the most important keys for a no-mouse setup with the main window drawing area: - zoom: {z e}, {z z}, {z x} - grid: {g b} and {g f} do the same as {[} and {]} and there's also {g d} and {g h} to double or halve the grid - scroll: ctrl+arrow keys or j then h, j, k, or l - move the cursor: arrow keys and shift arrow keys or k then h, j, k, l - left click: {enter} or {k space} - right click (context menu): {k r} - change layer: key 1..9 (I plan to make the layer key binding more configurable) - change tool: F1..F9 or t then a tool-specific letter (e.g. {t l} for line) - menu: {F10} - invoke the command line: the {:} key or {w c} Hitting anyting precisely without mouse: the trick is to use the grid; especially if you have the [ and ] keys available, you can rapidly change between preconfigured grid sizes. For getting somewhere approximately, use a rough grid, when you get close to the target refine the grid so you can go in smaller step. You can also rely on snapping. (I've just fixed a bug in Cursor() for grid based stepping that is used with the arrow keys: it is now really stepping grid point by grid point, unless you press shift) Note: all these key combos have a variant that takes more key presses but works on a limited qwerty (e.g. 3 or 4 row where you won't easily have punctuation or F-keys) Note: when you don't have arrow keys, plain hjkl can not be used, because we can't have single-character key combos in the default menu file, those would shadow off two large parts of the key tree. Regards, Igor2
Reply subtree:
3535 no-mouse (was: Re: [pcb-rnd] PCB-RND on PIC32...?!) from ge...@igor2.repo.hu