You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+56-57Lines changed: 56 additions & 57 deletions
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
3
3
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.
4
4
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
8
8
9
9
The Shift key accesses characters (top) that look similar to the numbers:
10
10
@@ -22,9 +22,9 @@ Swapping the Backspace and Caps lock keys completes the layout:
22
22
~ ! = ? + $ @ ^ & % * < >
23
23
# 1 2 3 4 5 6 7 8 9 0 [ ] Caps
24
24
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
28
28
29
29
Ctrl Fn Cmd Alt Space Alt Ctrl Arrows
30
30
@@ -96,32 +96,33 @@ According to the [Keyboard Layout Analyzer](http://patorjk.com/keyboard-layout-a
96
96
97
97
## Summary of steps and results <aname="summary">
98
98
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
106
103
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
108
105
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.
110
107
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:
114
109
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:
116
114
117
-
- - S - - O - -
118
-
- R N TA E I -
115
+
- - U - - R - -
116
+
I O E AH T S N
119
117
- - - - - - - -
120
118
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
125
126
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:
126
127
127
128
**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
148
149
149
150
"Estimation of digraph costs for keyboard layout optimization",
150
151
A Iseri, Ma Eksioglu, International Journal of Industrial Ergonomics, 48, 127-138, 2015.
152
+
151
153
152
-
### 2. Add command shortcut characters on the left or right
154
+
### Step 2: Add command shortcut characters
153
155
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:
155
157
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.
159
163
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:
161
165
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
164
168
- - - - - - - V
165
169
166
-
Rationale for placement on the right:
167
-
168
170
- Z is the least frequent letter and is placed in the hardest-to-reach position.
169
171
- 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.
171
174
- Q is the least frequent remaining letter, and is placed in the hardest-to-reach remaining key location.
172
175
- Q is in the upper left key in the QWERTY layout, so will be easy to remember.
173
176
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
179
177
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
181
179
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]
187
182
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]
191
189
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
+
195
194
196
-
### 5. Arrange punctuation marks and characters in easy-to-remember places
195
+
### Step 4. Arrange punctuation marks in easy-to-remember places
197
196
198
197
**Frequency of punctuation**
199
198
@@ -212,9 +211,9 @@ These sources helped guided our arrangement:
212
211
213
212
Resulting in:
214
213
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
218
217
219
218
Shift accesses similar-looking characters above the numbers:
0 commit comments