-
Notifications
You must be signed in to change notification settings - Fork 2
/
TCIM_R.py
106 lines (89 loc) · 1.89 KB
/
TCIM_R.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
KEYS = (
'#',
'B-', 'P-', 'M-', 'F-', 'X-', 'I-', 'W-', 'A-', 'E-', 'N-', 'G-', 'Z-',
'-B', '-P', '-M', '-F', '-X', '-I', '-W', '-A', '-E', '-N', '-G', '-Z',
)
IMPLICIT_HYPHEN_KEYS = ()
SUFFIX_KEYS = ()
NUMBER_KEY = '#'
NUMBERS = {
'N-': '5-',
'A-': '4-',
'I-': '3-',
'M-': '2-',
'B-': '1-',
'-B': '-6',
'-M': '-7',
'-I': '-8',
'-A': '-9',
'-N': '-0',
}
UNDO_STROKE_STENO = "X-X"
ORTHOGRAPHY_RULES = []
ORTHOGRAPHY_RULES_ALIASES = {}
ORTHOGRAPHY_WORDLIST = None
KEYMAPS = {
'keyboard': {
'#': ('1', '2', '3', '4', '5', '6', '7', '8', '9', '0'),
'N-': 'q',
'G-': 'a',
'A-': 'w',
'E-': 's',
'I-': 'e',
'W-': 'd',
'M-': 'r',
'F-': 'f',
'B-': 't',
'P-': 'g',
'Z-': 'c',
'X-': 'v',
'-X': 'n',
'-Z': 'm',
'-B': 'y',
'-P': 'h',
'-M': 'u',
'-F': 'j',
'-I': 'i',
'-W': 'k',
'-A': 'o',
'-E': 'l',
'-N': 'p',
'-G': ';',
'arpeggiate': 'space',
'no-op': ('b'),
},
'Gemini PR': {
'#': ('#1', '#2', '#3', '#4', '#5', '#6', '#7', '#8', '#9', '#A', '#B', '#C'),
'N-': 'S1-',
'G-': 'S2-',
'A-': 'T-',
'E-': 'K-',
'I-': 'P-',
'W-': 'W-',
'M-': 'H-',
'F-': 'R-',
'B-': '*1',
'P-': '*2',
'Z-': 'A-',
'X-': 'O-',
'-X': '-E',
'-Z': '-U',
'-B': '*3',
'-P': '*4',
'-M': '-F',
'-F': '-R',
'-I': '-P',
'-W': '-B',
'-A': '-L',
'-E': '-G',
'-N': '-T',
'-G': '-S',
'no-op': ('-D','-Z','res1', 'res2', 'Fn', 'pwr'),
}
}
DICTIONARIES_ROOT = './dictionaries/'
DEFAULT_DICTIONARIES = (
'Combined_index.json'
'Combined_conflict.json'
'Combined_main.json'
)