Everything necessary to get this to boot finally. Planck types!

This commit is contained in:
Josh Klar committed 2018-12-29 06:03:31 -08:00
1 parent 39a6465658
commit 57239e3163
9 files changed
+138 -68

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
from kmk.consts import UnicodeMode
from kmk.keycodes import ALL_KEYS, KC, Macro
from kmk.keycodes import KC, Macro
from kmk.macros.simple import simple_key_sequence
from kmk.types import AttrDict
from kmk.util import get_wide_ordinal
@@ -45,7 +45,7 @@ def generate_codepoint_keysym_seq(codepoint, expected_length=4):
seq = [KC.N0 for _ in range(max(len(codepoint), expected_length))]
for idx, codepoint_fragment in enumerate(reversed(codepoint)):
seq[-(idx + 1)] = ALL_KEYS.get(codepoint_fragment)
seq[-(idx + 1)] = KC.get(codepoint_fragment)
return seq