abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/ExtraKeys.java
AgeCommit message (Collapse)AuthorFilesLines
2023-09-24Preferred position for locale `extra_keys`Jules Aguillon1-13/+32
`method.xml` is now able to specify a preferred position for each extra keys in term of an other key to which it should be placed nearby. It's implemented for French as an example.
2023-09-15Refactor: Preferred positions for extra keysJules Aguillon1-4/+7
The new PreferredPos class represents where an extra key should be placed Currently used to place keys at the same positions they were placed before.
2023-08-06Don't replace user selected dead keysJules Aguillon1-3/+6
Don't replace dead-keys selected in the "Add keys to the keyboard" option by an alternative.
2023-08-06Replace dead-keys when there's one alternativeJules Aguillon1-18/+49
The dead-key is replaced by its alternative if there's only one specified. Extra keys from every subtypes must be merged together to be able to make this check.
2023-08-06Extra keys alternativesJules Aguillon1-28/+65
For each extra key, a list of alternative can be specified. An extra key won't be added to the keyboard if all its alternatives are already present on it. This is useful to avoid having the dead key for an accent and the accented letters at the same time.
2023-06-24Per-script extra keysJules Aguillon1-0/+57
Allows to define a locale's script in 'method.xml' and use that to add the extra keys for a locale to layouts of the same script only. A locale of an undefined script will add its extra keys to every layouts. A layout of an undefined script will have the extra keys of all the enabled locales.