Index: 06_common/index.html =================================================================== --- 06_common/index.html (nonexistent) +++ 06_common/index.html (revision 15948) @@ -0,0 +1,44 @@ + + +
++The same default menu file is used in all GUI HIDs. It comes with multi-stroke +key bindings, plus only a very few, alternative keys that use modifiers +(mostly ctrl). A multi-stroke key binding requires the user to type in a +sequence of keys, e.g. pressing 't' and 'l' (written as {t l} in this document) +will make pcb-rnd switch to the line tool. There are two major advanatges of +using multi-stroke instead of modifiers: +
+Most multi-stroke keys, especially the commonly used ones, use two strokes. +Some rarely used feature will require three. The system can be regarded +as a tree: e.g. in a 3-key sequence, starting from the root +(nothing is pressed) the first key select a chapter, the second +key narrows it down to a subchapter and the third key (leaf) selects the actual +action within the subchapter. The current key tree is: +
+ +
+ Index: 06_common/keytree.svg =================================================================== --- 06_common/keytree.svg (nonexistent) +++ 06_common/keytree.svg (revision 15948) @@ -0,0 +1,85 @@ + + + + + Index: 06_common/src/Makefile =================================================================== --- 06_common/src/Makefile (nonexistent) +++ 06_common/src/Makefile (revision 15948) @@ -0,0 +1,2 @@ +../keytree.svg: keytree.dot + dot -Tsvg < keytree.dot > ../keytree.svg Index: 06_common/src/keytree.dot =================================================================== --- 06_common/src/keytree.dot (nonexistent) +++ 06_common/src/keytree.dot (revision 15948) @@ -0,0 +1,17 @@ +digraph keytree { + root [label="nothing\npressed"] + f1 [label="f\nfile"] + q2 [label="q\nquit"] + n2 [label="n\nnew"] + t1 [label="t\ntool"] + l2 [label="l\nline"] + a2 [label="l\narc"] + + + root->f1 + f1->q2 + f1->n2 + root->t1 + t1->l2 + t1->a2 +} \ No newline at end of file Index: index.html =================================================================== --- index.html (revision 15947) +++ index.html (revision 15948) @@ -23,6 +23,7 @@