summary refs log tree commit diff
diff options
context:
space:
mode:
authorequa <equaa@protonmail.com>2023-01-15 12:34:49 -0600
committerequa <equaa@protonmail.com>2023-01-15 12:34:49 -0600
commitd3bfa6cb9be3f1d6ce727b3bd2eec78063c03958 (patch)
treefdcf3beea8ab426ce1ebc71dfbda17e8d9f1d189
parent18a0bed48264e5fb2db07974dd912f7b5e940f65 (diff)
Add keyboard support HEAD main
-rw-r--r--TODO2
-rw-r--r--plover_toki_pona/system.py18
2 files changed, 18 insertions, 2 deletions
diff --git a/TODO b/TODO
index 6d44083..cfc37ba 100644
--- a/TODO
+++ b/TODO
@@ -1,5 +1,3 @@
 make fingerspelling syllable-based, maybe
 add punctuation and commands to dictionary
 documentation!!!
-add qwerty keyboard layout
-make the gemini PR layout more "forgiving" (making both rows of keys do the same thing?)
diff --git a/plover_toki_pona/system.py b/plover_toki_pona/system.py
index 128c7cb..1f5c1fc 100644
--- a/plover_toki_pona/system.py
+++ b/plover_toki_pona/system.py
@@ -37,6 +37,24 @@ KEYMAPS = {
 		'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'),
 	},
+	'Keyboard': {
+		'S': 'a',
+		'P': 's',
+		'K': 'd',
+		'L': 'f',
+		'M': 'g',
+		'H': 'c',
+		'W': 'v',
+		'N': 'n',
+		'R': 'm',
+		'A': 'h',
+		'I': 'j',
+		'E': 'k',
+		'O': 'l',
+		'U': ';',
+		'no-op': ('z', 'x', 'b', ',', '.', '/'),
+		'arpeggiate': 'space',
+	},
 }
 
 DICTIONARIES_ROOT = 'asset:plover_toki_pona:dictionaries'