Open
Conversation
added 3 commits
December 30, 2025 11:12
Result of this commit won't build as-is, probably due to size. Need to comment out some character definitions, or delete unneeded layers, before building.
Prevents `keymap.dtsi` from growing too large.
7e5efd3 to
7d8c007
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds symbols used in Latvian language, as options in
world.yaml. The newly added character definitions are commented out and requires the user to enable them if needed. This is done due to size issues - read below in Drawbacks.Compositions
Composition definitions have been added for the new symbols. Since these don't affect the
keymap.dtsion their own, they are added without commenting them out.Consonants
Since 9c943ca the consonants have been grouped together in a single character group. I don't think it's as useful when the number of different consonants is larger than the few in this group, thus I have added groups for the individual base characters.
I would prefer if the individual consonant letters would have their own letter grouping, same as vowels.
Drawbacks
On v42-rc8, if all added character definitions are uncommented, the resulting
keymap.dtsiwill be too large to successfully build in the layout editor, presenting a vague error such as "Error time: Sat, 27 Dec 2025 19:00:46 GMT". This is one of the reasonsIn order to build, it is necessary to either:
world.yaml. This will reduce the amount of macros inkeymap.dtsi, and thus the size of the file.Usage
To use the new symbols, user would have to:
characters:object;transformsif necessary;characters:, enuring there are no references to removed characters intransforms. The duplicates inconsonantsare probably a good start, but will likely not be enough.rakeor./rake;keymap.dtsiinto the layout editor;Either (2) or (6) needs to be done to avoid build error, although I have not tested on the newest DEV releases, which already removed some layers - maybe the reduction would already be sufficient.