Skip to content

Commit 3199679

Browse files
committed
Merge branch 'master' of github.com:binarybottle/engram-layout into master
2 parents e5c24bd + f864c41 commit 3199679

1 file changed

Lines changed: 22 additions & 49 deletions

File tree

README.md

Lines changed: 22 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The [Engram layout](https://github.com/binarybottle/engram-layout) is a keyboard
44

55
K P U Y G R D W Q
66
I O E A H T S N J
7-
V Z X C L F B M
7+
V Z X C L B F M
88

99
The Shift key accesses characters (top) that look similar to the numbers:
1010

@@ -24,7 +24,7 @@ Swapping the Backspace and Caps lock keys completes the layout:
2424

2525
Tab K P U Y ' " G R D W Q - /
2626
Back I O E A , . H T S N J Enter
27-
Shift V Z X C ( ) L F B M Shift
27+
Shift V Z X C ( ) L B F M Shift
2828

2929
Ctrl Fn Cmd Alt Space Alt Ctrl Arrows
3030

@@ -43,7 +43,7 @@ I have also experimented with a wide variety of human interface technologies
4343
**"Engram"?** <br>
4444
The name is a pun, referring both to "n-gram", letter permutations used to compute this layout, and "engram", or memory trace, the postulated change in neural tissue to account for the persistence of memory.
4545

46-
## Comparison with other key layouts <a name="comparison">
46+
## Comparison with other key layouts
4747

4848
Despite the fact that the Engram layout was designed to reduce strain and discomfort, not to reduce finger travel from the home row, it scores higher than all other key layouts (Colemak, Dvorak, QWERTY, etc.) I've tested using the online Keyboard Layout Analyzer, for all of the examples of prose and tweet data I've tried, including the data sets below:
4949

@@ -62,7 +62,7 @@ According to the [Keyboard Layout Analyzer](http://patorjk.com/keyboard-layout-a
6262

6363
"The optimal layout score is based on a weighted calculation that factors in the distance your fingers moved (33%), how often you use particular fingers (33%), and how often you switch fingers and hands while typing (34%)."
6464

65-
## Factors used to compute the layout <a name="factors">
65+
## Factors used to compute the layout
6666
- **N-gram letter frequencies** <br>
6767

6868
[Peter Norvig's analysis](http://www.norvig.com/mayzner.html) of data from Google's book scanning project
@@ -79,7 +79,7 @@ According to the [Keyboard Layout Analyzer](http://patorjk.com/keyboard-layout-a
7979
"Estimation of digraph costs for keyboard layout optimization", A Iseri, Ma Eksioglu, International Journal of Industrial Ergonomics, 48, 127-138, 2015. <br>
8080
_NOTE: Speed data were only used for exploration of early key layouts._
8181

82-
## Guiding criteria <a name="criteria">
82+
## Guiding criteria
8383

8484
1. Assign 24 letters to keys that don't require lateral extension of index or little fingers.
8585
2. Group letters for common command shortcut keys (F,C,Z,Y,X,V) close together.
@@ -97,15 +97,15 @@ According to the [Keyboard Layout Analyzer](http://patorjk.com/keyboard-layout-a
9797
## Summary of steps and results <a name="summary">
9898

9999
- Step 1: Arrange the most frequent vowels and consonants
100-
- Step 2: Add command shortcut characters
101-
- Step 3: Arrange the remaining letters
100+
- Step 2: Arrange the remaining letters (except for command characters Z,X,C,V)
101+
- Step 3: Add command shortcut characters
102102
- Step 4: Arrange punctuation marks in easy-to-remember places
103103

104104
### Step 1: Arrange the most frequent vowels and consonants
105105

106106
My goal was to arrange 24 of the 26 letters in 8 columns of keys requiring no lateral movements, with 2 middle columns reserved for punctuation.
107107

108-
First, I selected 5 keys on the left and right sides having the strongest finger positions, and assigned to these keys the top-scoring arrangement of the 5 vowels and of the 5 most frequent consonants. In prior experiments, vowels on the left got consistently higher scores, so we will continue with vowels on the left:
108+
First, I select 5 keys on the left and right sides having the strongest finger positions, and assign to these keys the top-scoring arrangement of the 5 vowels and of the 5 most frequent consonants. In prior experiments, vowels on the left got consistently higher scores, so I continue with vowels on the left:
109109

110110
#### **E**, T, **A, O, I**, N, S, R, H, L, D, C, **U**, M, F, P, G, W, Y, B, V, K, X, J, Q, Z
111111
#### E, **T**, A, O, I, **N, S, R, H**, L, D, C, U, M, F, P, G, W, Y, B, V, K, X, J, Q, Z
@@ -115,12 +115,8 @@ First, I selected 5 keys on the left and right sides having the strongest finger
115115
- - U - - R - -
116116
I O E A H T S N
117117
- - - - - - - -
118-
119-
- - U - - S R -
120-
I O E A H T N -
121-
- - - - - - - -
122118
123-
These arrangements are very reasonable, as they place vowels of decreasing frequency in positions of decreasing strength, and the most common bigrams are easy to type.
119+
This arrangement is very reasonable, as it places vowels of decreasing frequency in positions of decreasing strength, and the most common bigrams are easy to type.
124120

125121
#### Details
126122
The optimization algorithm finds every permutation of a given set of letters (40,320 for this intial set of 8), maps these letter permutations to a set of keys, and ranks these letter-key mappings according to a score reflecting ease of typing key pairs and frequency of letter pairs (bigrams). The score is the average of the scores for all possible bigrams in this arrangement. The score for each bigram is a product of the frequency of occurrence of that bigram and the factors Flow, Strength, and Speed:
@@ -151,52 +147,29 @@ These are left-right averaged versions derived from the study data below, to com
151147
A Iseri, Ma Eksioglu, International Journal of Industrial Ergonomics, 48, 127-138, 2015.
152148

153149

154-
### Step 2: Add command shortcut characters
155-
156-
**Left:** common command characters (Z,X,C,V) on the left as per convention and Q on the right:
150+
### Step 2: Arrange the remaining letters (except for command characters Z,X,C,V)
157151

158-
- - U - - R - - Q
159-
I O E A H T S N J
160-
V Z X C - - - -
161-
162-
- V,Z,X,C command characters are familiarly placed on the bottom left row.
163-
164-
**Right:** common command characters (Y,Z,X,C,V) on the right and Q on the left:
165-
166-
Q - U - - S R Y Z
167-
I O E A H T N C X
168-
- - - - - - - V
169-
170-
- Z is the least frequent letter and is placed in the hardest-to-reach position.
171-
- Z & Y (Undo & Redo), and X & C (Cut & Copy) pair well together.
172-
- Command shortcuts on the right puts C & V in closer proximity to a Ctrl key.
173-
- Command shortcuts on the right enforces using both hands with the harder-to-reach left Ctrl key.
174-
- Q is the least frequent remaining letter, and is placed in the hardest-to-reach remaining key location.
175-
- Q is in the upper left key in the QWERTY layout, so will be easy to remember.
152+
I reserve the familiar location of the bottom left row for common command shortcut letters Z, X, C, and V, and place Q and J, the least common letters (after Z) in the hardest-to-reach locations:
176153

177-
178-
### Step 3: Arrange the remaining letters
179-
180-
#### Left shortcuts:
181154
#### E, T, A, O, I, N, S, R, H, **L, D**, [C], U, **M, F, P, G, W, Y, B**, [V], **K**, [X], [J], [Q], [Z]
182155

183-
- - U - - R - - Q
184-
I O E A H T S N J
185-
V Z X C - - - -
156+
- - U - - R - - [Q]
157+
I O E A H T S N [J]
158+
* * * * - - - -
186159

187-
#### Right shortcuts:
188-
#### E, T, A, O, I, N, S, R, H, **L, D**, [C], U, **M, F, P, G, W**, [Y], **B**, [V], **K**, [X], **J**, [Q], [Z]
160+
### Step 3: Add command shortcut characters <a name="step3">
189161

190-
Q - U - - S R Y Z
191-
I O E A H T N C X
192-
- - - - - - - V
193-
162+
I arrange the common command characters (Z,X,C,V) in the bottom left row, and choose the sequence V,Z,X,C so that the more frequent letters V and C are accessible by folding the smaller fingers, repeated shortcuts V and Z (paste and undo) are closer to the Ctrl/Cmd key, and the sequence is close to the familiar Z,X,C,V (with V on the left side).
163+
164+
K P U Y G R D W [Q]
165+
I O E A H T S N [J]
166+
V Z X C L B F M
194167

195168
### Step 4. Arrange punctuation marks in easy-to-remember places
196169

197170
**Frequency of punctuation**
198171

199-
These sources helped guided our arrangement:
172+
These sources helped guide arrangement of punctuation keys:
200173

201174
- "Punctuation Input on Touchscreen Keyboards: Analyzing Frequency of Use and Costs" <br>
202175
S Malik, L Findlater - College Park: The Human-Computer Interaction Lab. 2013 <br>
@@ -213,7 +186,7 @@ Resulting in:
213186

214187
K P U Y ' " G R D W Q
215188
I O E A , . H T S N J
216-
V Z X C ( ) L F B M
189+
V Z X C ( ) L B F M
217190

218191
Shift accesses similar-looking characters above the numbers:
219192

0 commit comments

Comments
 (0)