Skip to content

Commit 16331cd

Browse files
authored
Update README.md
1 parent 639f79d commit 16331cd

File tree

1 file changed

+56
-57
lines changed

1 file changed

+56
-57
lines changed

README.md

Lines changed: 56 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
The [Engram layout](https://github.com/binarybottle/engram-layout) is a keyboard layout optimized for comfortable touch typing in English created by [Arno Klein](https://binarybottle.com), with open source code to create other optimized key layouts.
44

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

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

@@ -22,9 +22,9 @@ Swapping the Backspace and Caps lock keys completes the layout:
2222
~ ! = ? + $ @ ^ & % * < >
2323
# 1 2 3 4 5 6 7 8 9 0 [ ] Caps
2424

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

2929
Ctrl Fn Cmd Alt Space Alt Ctrl Arrows
3030

@@ -96,32 +96,33 @@ According to the [Keyboard Layout Analyzer](http://patorjk.com/keyboard-layout-a
9696

9797
## Summary of steps and results <a name="summary">
9898

99-
- Step 1: Distribute the 8 most frequent letters (4 vowels, 4 consonants) to the left and right
100-
- Step 2: Add command shortcut characters on the left or right
101-
- Step 3: Distribute 8 of the remaining letters to the left and right
102-
- Step 4: Optimize arrangement of all letters on the left and right
103-
- Step 5: Arrange punctuation marks and characters in easy-to-remember places
104-
105-
### 1. Distribute the 8 most frequent letters (4 vowels, 4 consonants) to the left and right
99+
- Step 1: Arrange the most frequent vowels and consonants
100+
- Step 2: Add command shortcut characters
101+
- Step 3: Arrange the remaining letters
102+
- Step 4: Arrange punctuation marks in easy-to-remember places
106103

107-
**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
104+
### Step 1: Arrange the most frequent vowels and consonants
108105

109-
My goal was to arrange 24 of the 26 letters in finger-column keys (requiring no lateral movements) with 2 columns reserved for punctuation between the left and right sides. Our optimization algorithm splits the 8 most frequent letters across left and right sides:
106+
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.
110107

111-
- - O - - S - -
112-
- I E A T N R -
113-
- - - - - - - -
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:
114109

115-
This algorithm also generates a mirror image of the above arrangement:
110+
#### **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
111+
#### 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
112+
113+
Left: Right:
116114

117-
- - S - - O - -
118-
- R N T A E I -
115+
- - U - - R - -
116+
I O E A H T S N
119117
- - - - - - - -
120118

121-
In all of the following steps, we build a layout from both arrangements but only show the top arrangement for clarity.
122-
These initial arrangements are very reasonable, as they place letters of decreasing frequency in positions of decreasing finger strength, and roll in for most common bigrams: IO, EA, IE, NT, ST, RT (not TR or NS).
123-
124-
#### **Details** <br>
119+
- - U - - S R -
120+
I O E A H T N -
121+
- - - - - - - -
122+
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.
124+
125+
#### Details
125126
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:
126127

127128
**Flow**: measure of ease of a finger transition from the first in a pair of letters to the second
@@ -148,52 +149,50 @@ These are left-right averaged versions derived from the study data below, to com
148149

149150
"Estimation of digraph costs for keyboard layout optimization",
150151
A Iseri, Ma Eksioglu, International Journal of Industrial Ergonomics, 48, 127-138, 2015.
152+
151153

152-
### 2. Add command shortcut characters on the left or right
154+
### Step 2: Add command shortcut characters
153155

154-
I experimented with common command characters (Z,X,C,V) on the left, a familiar location (with Q on the right):
156+
**Left:** common command characters (Z,X,C,V) on the left as per convention and Q on the right:
155157

156-
- - O - - S - - Q
157-
- I E A T N R - -
158-
Z X C V - - - -
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.
159163

160-
and with command characters on the right (with Q on the left):
164+
**Right:** common command characters (Y,Z,X,C,V) on the right and Q on the left:
161165

162-
Q - O - - S - Y Z
163-
- I E A T N R C X
166+
Q - U - - S R Y Z
167+
I O E A H T N C X
164168
- - - - - - - V
165169

166-
Rationale for placement on the right:
167-
168170
- Z is the least frequent letter and is placed in the hardest-to-reach position.
169171
- Z & Y (Undo & Redo), and X & C (Cut & Copy) pair well together.
170-
- Moving command shortcuts to the right puts C & V (Copy & Paste) in closer proximity to a Ctrl key, or it enforces two-handed Ctrl operations when using the harder-to-reach left Ctrl key.
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.
171174
- Q is the least frequent remaining letter, and is placed in the hardest-to-reach remaining key location.
172175
- Q is in the upper left key in the QWERTY layout, so will be easy to remember.
173176

174-
### 3. Distribute 8 of the remaining letters to the left and right
175-
176-
*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]
177-
178-
### 4. Optimize arrangement of all letters on the left and right
179177

180-
I applied the same algorithm as in Steps 1 and 3, but to each side separately (to make it computationally tractable), then to the remaining letters, and finally to the command characters on the left side.
178+
### Step 3: Arrange the remaining letters
181179

182-
The top-scoring full layouts had vowels on the left side and command characters on either side:
183-
184-
J U O Y W S M Q Z score: 0.04264
185-
H I E A T N R C X
186-
P K G D L F B V
180+
#### Left shortcuts:
181+
#### 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]
187182

188-
Q U O Y W S M J Z score: 0.04264
189-
H I E A T N R C X
190-
P K G D L F B V
183+
- - U - - R - - Q
184+
I O E A H T S N J
185+
V Z X C - - - -
186+
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]
191189

192-
K U O Y W L G B Q score: 0.04263
193-
H I E A T R S N J
194-
V Z X C D M F P
190+
Q - U - - S R Y Z
191+
I O E A H T N C X
192+
- - - - - - - V
193+
195194

196-
### 5. Arrange punctuation marks and characters in easy-to-remember places
195+
### Step 4. Arrange punctuation marks in easy-to-remember places
197196

198197
**Frequency of punctuation**
199198

@@ -212,9 +211,9 @@ These sources helped guided our arrangement:
212211

213212
Resulting in:
214213

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

219218
Shift accesses similar-looking characters above the numbers:
220219

0 commit comments

Comments
 (0)