-
Notifications
You must be signed in to change notification settings - Fork 0
/
layouts.py
30 lines (22 loc) · 1.29 KB
/
layouts.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Travel Distance from home-row
# Effort Model, trying to use 10-99 scale
# to consider: adding international key: 35, left position row 3
my_keyboard = [[45, 22, 20, 25, 45, 60, 45, 25, 20, 22, 45, 70, 95],
[20, 12, 10, 10, 30, 30, 10, 10, 12, 20, 30],
[40, 35, 30, 25, 27, 27, 25, 30, 35, 40]]
base_distance = [[2, 2, 2, 2, 2.5, 3, 2, 2, 2, 2, 2.5, 4, 6],
[0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 2],
[2, 2, 2, 2, 3.5, 2, 2, 2, 2, 2]]
# Keyboard Layouts
QEDPI = [["'", ",", ".", "p", "y", "f", "g", "c", "r", "l", "/", "="],
["o", "a", "e", "i", "u", "d", "h", "t", "n", "s", "-"],
[":", "q", "j", "k", "x", "b", "m", "w", "v", "z"]]
DVORAK = [["'", ",", ".", "p", "y", "f", "g", "c", "r", "l", "/", "="],
["a", "o", "e", "u", "i", "d", "h", "t", "n", "s", "-"],
[":", "q", "j", "k", "x", "b", "m", "w", "v", "z"]]
QWERTY = [["q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "[", "]"],
["a", "s", "d", "f", "g", "h", "j", "k", "l", ";", "'"],
["z", "x", "c", "v", "b", "n", "m", ",", ".", "/"]]
COLEMAK = [["q", "w", "f", "p", "g", "j", "l", "u", "y", ";", "[", "]"],
["a", "r", "s", "t", "d", "h", "n", "e", "i", "o", "`"],
["z", "x", "c", "v", "b", "k", "m", ",", ".", "/"]]