summary refs log tree commit diff
path: root/plover_toki_pona/system.py
diff options
context:
space:
mode:
authorequa <equaa@protonmail.com>2023-01-14 19:19:50 -0600
committerequa <equaa@protonmail.com>2023-01-14 19:19:50 -0600
commit08793cfa2ccdae4c4091e1b977f9a45c174e8d49 (patch)
treea999ff48bd2f05b3cfa117108284e9128e250c39 /plover_toki_pona/system.py
initial commit
Diffstat (limited to 'plover_toki_pona/system.py')
-rw-r--r--plover_toki_pona/system.py47
1 files changed, 47 insertions, 0 deletions
diff --git a/plover_toki_pona/system.py b/plover_toki_pona/system.py
new file mode 100644
index 0000000..128c7cb
--- /dev/null
+++ b/plover_toki_pona/system.py
@@ -0,0 +1,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',
+)