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
+22-49Lines changed: 22 additions & 49 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ The [Engram layout](https://github.com/binarybottle/engram-layout) is a keyboard
4
4
5
5
K P U Y G R D W Q
6
6
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
8
8
9
9
The Shift key accesses characters (top) that look similar to the numbers:
10
10
@@ -24,7 +24,7 @@ Swapping the Backspace and Caps lock keys completes the layout:
24
24
25
25
Tab K P U Y ' " G R D W Q - /
26
26
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
28
28
29
29
Ctrl Fn Cmd Alt Space Alt Ctrl Arrows
30
30
@@ -43,7 +43,7 @@ I have also experimented with a wide variety of human interface technologies
43
43
**"Engram"?** <br>
44
44
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.
45
45
46
-
## Comparison with other key layouts <aname="comparison">
46
+
## Comparison with other key layouts
47
47
48
48
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:
49
49
@@ -62,7 +62,7 @@ According to the [Keyboard Layout Analyzer](http://patorjk.com/keyboard-layout-a
62
62
63
63
"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%)."
64
64
65
-
## Factors used to compute the layout <aname="factors">
65
+
## Factors used to compute the layout
66
66
-**N-gram letter frequencies** <br>
67
67
68
68
[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
79
79
"Estimation of digraph costs for keyboard layout optimization", A Iseri, Ma Eksioglu, International Journal of Industrial Ergonomics, 48, 127-138, 2015. <br>
80
80
_NOTE: Speed data were only used for exploration of early key layouts._
81
81
82
-
## Guiding criteria <aname="criteria">
82
+
## Guiding criteria
83
83
84
84
1. Assign 24 letters to keys that don't require lateral extension of index or little fingers.
85
85
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
97
97
## Summary of steps and results <aname="summary">
98
98
99
99
- 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
102
102
- Step 4: Arrange punctuation marks in easy-to-remember places
103
103
104
104
### Step 1: Arrange the most frequent vowels and consonants
105
105
106
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.
107
107
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:
109
109
110
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
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
@@ -115,12 +115,8 @@ First, I selected 5 keys on the left and right sides having the strongest finger
115
115
- - U - - R - -
116
116
I O E A H T S N
117
117
- - - - - - - -
118
-
119
-
- - U - - S R -
120
-
I O E A H T N -
121
-
- - - - - - - -
122
118
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.
124
120
125
121
#### Details
126
122
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
151
147
A Iseri, Ma Eksioglu, International Journal of Industrial Ergonomics, 48, 127-138, 2015.
152
148
153
149
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)
157
151
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:
176
153
177
-
178
-
### Step 3: Arrange the remaining letters
179
-
180
-
#### Left shortcuts:
181
154
#### 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]
182
155
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
+
* * * * - - - -
186
159
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]
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
194
167
195
168
### Step 4. Arrange punctuation marks in easy-to-remember places
196
169
197
170
**Frequency of punctuation**
198
171
199
-
These sources helped guided our arrangement:
172
+
These sources helped guide arrangement of punctuation keys:
200
173
201
174
- "Punctuation Input on Touchscreen Keyboards: Analyzing Frequency of Use and Costs" <br>
202
175
S Malik, L Findlater - College Park: The Human-Computer Interaction Lab. 2013 <br>
@@ -213,7 +186,7 @@ Resulting in:
213
186
214
187
K P U Y ' " G R D W Q
215
188
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
217
190
218
191
Shift accesses similar-looking characters above the numbers:
0 commit comments