summary refs log tree commit diff
path: root/plover_toki_pona/system.py
blob: 128c7cbeaa3ed03afce221e507f2891d45b91085 (plain)
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
KEYS = (
	'S', 'P', 'K', 'L', 'M',
	'H', 'W',
	'N', 'R',
	'A', 'I', 'E', 'O', 'U',
)

IMPLICIT_HYPHEN_KEYS = KEYS

SUFFIX_KEYS = ()

NUMBER_KEY = None

NUMBERS = {}

UNDO_STROKE_STENO = 'W' # TODO oakley help

ORTHOGRAPHY_RULES = []
ORTHOGRAPHY_RULES_ALIASES = {}
ORTHOGRAPHY_WORDLIST = None

KEYMAPS = {
	'Gemini PR': {
		'S': 'S1-',
		'P': 'T-',
		'K': 'P-',
		'L': 'H-',
		'M': '*1',
		'H': 'A-',
		'W': 'O-',
		'N': '-E',
		'R': '-U',
		'A': '-F',
		'I': '-P',
		'E': '-L',
		'O': '-T',
		'U': '-D',
		'no-op': ('#1', '#2', '#3', '#4', '#5', '#6', '#7', '#8', '#9', '#A', '#B', '#C', 'Fn', 'S2-', 'K-', 'W-', 'R-', '*2', '*3', '*4', '-R', '-B', '-G', '-S', '-Z', 'pwr', 'res1', 'res2'),
	},
}

DICTIONARIES_ROOT = 'asset:plover_toki_pona:dictionaries'
DEFAULT_DICTIONARIES = (
	'toki_user.json',
	'toki_commands.json',
	'toki_main.json',
)