From 08793cfa2ccdae4c4091e1b977f9a45c174e8d49 Mon Sep 17 00:00:00 2001 From: equa Date: Sat, 14 Jan 2023 19:19:50 -0600 Subject: initial commit --- plover_toki_pona/system.py | 47 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 plover_toki_pona/system.py (limited to 'plover_toki_pona/system.py') 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', +) -- cgit 1.3.0-6-gf8a5