abouttreesummaryrefslogcommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2025-03-08doc: Massage section on "Escape codes" (#912)Spike1-19/+18
* Add introductory text to the tables And mention characters that don't have escapes * Turn tables around Tables should be structured by what the user wants, not by what the code does. * Address Julow review #1 - Merge tables, no matter which rule requires escaping; "in the usual way for XML" applies to both - 3 escapes not mandatory removed from table to new ΒΆ below - Found one more symbol β†’ legend * doc: Clarify escaping of comma and colon per #915
2025-03-08sync_translations.py: Handle '\n' in store descriptionsJules Aguillon1-1/+5
These are added by Weblate.
2025-03-08Change indentation of strings.xml files to match WeblateJules Aguillon19-2341/+2341
This runs sync_translations.py, which also remove uneeded comments.
2025-03-01prefs: Add 'delete_word' and 'forward_delete_word' to extra keysJules Aguillon19-0/+82
The gesture combination is mentioned. Preferred position are added.
2025-03-01Add 'delete_word' and 'forward_delete_word' keysJules Aguillon7-16/+70
These keys are the equivalent of ctrl+backspace and ctrl+delete, respectively. They can be reached with Gesture+backspace and Gesture+delete respectively.
2025-02-28APL and BQN layouts (#899)dzaima5-31/+147
* Add compact BQN layout * Add compact APL layout
2025-02-28Make key symbol smaller when 2 characters long or moreJules Aguillon3-6/+19
This was the case for string keys but not for macros or keys with custom symbols.
2025-02-28Refactor: Remove StringWithSymbolJules Aguillon5-53/+13
It's replaced with a macro containing one key.
2025-02-27cyrl_lynyertz_sr: Use the newer key syntax for ctrl mappingsJules Aguillon1-26/+26
2025-02-27KeyValue: Don't wrap keys into a macro when possibleJules Aguillon3-11/+41
Many kind of KeyValues don't need to be wrapped into a Macro to show a specific symbol. This is especially useful as Macro keys are not affected by modifiers. The parser is changed to have a fast-path when a key value is not a macro.
2025-02-27Fix miscalculation of the bottom marginJules Aguillon1-4/+4
'_marginBottom' might be uninitialized when used.
2025-02-27Show a message in voice input chooser when emptyJules Aguillon19-0/+21
This avoids creating an empty dialog that appears as a mysterious white rectangle.
2025-02-27Clerical edits to "Possible values.md" (#907)Spike1-25/+36
* Massage Intro Start with definition, then use cases, then valid syntax. Use "legend" rather than "symbol" for the visible legend on the keyboard Rephrase to avoid "exhaustive". Other simplifications. * Edit section "Modifiers" Separate into two tables, each preceded by relevant introduction * Shuffle sections Retitle "Special keys"; as used in the Intro, this term refers to all the keywords in this file. Put two contrasting sections together, add "In contrast," and reword.
2025-02-27Fix crash due to empty strings in keysJules Aguillon1-1/+3
2025-02-27Update Ukrainian translation (#909)Sergiy Stupar1-6/+6
2025-02-23Apply compose sequences to String keysJules Aguillon6-69/+94
This is mostly useful for characters that do not fit on a single 16-bit char. Shift sequences for π•¨π•©π•—π•˜π•€ are added for illustration.
2025-02-23Macro keys (#878)Jules Aguillon7-161/+433
Add "macro" keys that behave as if a sequence of keys is typed. Macro can be added to custom layouts or through the "Add keys to the keyboard option". The syntax is: symbol:key1,key2,.. The symbol cannot contain a : character. 'key1', 'key2', etc.. are: - 'String with \' escaping' The key will generate the specified string. - keyevent:123 The key will send a keyevent. - The name of any special key
2025-02-22ExtraKeysPreference: Allow title to span several linesJules Aguillon1-0/+1
Some titles in the extra keys list are truncated and some information are invisible.
2025-02-15Remove Japanese from method.xmlJules Aguillon1-1/+0
This makes the keyboard incorrectly reports that it supports Japanese.
2025-02-15prefs: Add key description for dead keysJules Aguillon19-0/+40
2025-02-15layouts/latn_bone.xml: improve (#760)Zitrone2-50/+108
* layouts/latn_bone.xml: use new syntax and add most missing keys new syntax: n/s/e/w/ne/nw/se/sw instead of key{1..8} Some keys were missing keys according to the tests, this adds them in a similar way to latn_neo2. Only `switch_forward` didn't fit (because of the 0 at the bottom of the spacebar). * layouts/latn_bone.xml: even better bone - use number row to unclutter rest of keyboard - use modmap for special shift functions of bone layout - add missing loc characters - use standard bottom bar - add diacritics from the 3 dead key keys on bone - 2 small keys left and right of the number row (don't fit all 6 diacritics, so they leak onto the number keys) - row 1 is full too, so the dead keys from the left of that row leak onto the keys there as well open questions: - should bone rely on the math layer or use modmap? - possibility to combine diacritics?
2025-02-15misc changes to deva alt layout (#880)Luke Videckis1-21/+20
* misc changes to deva alt layout * add indication for numpad for discoverability * change key* notation to c/nw/ne/sw/se notation
2025-02-15Fix typo in Latvian translation (#902)Edgars1-1/+1
2025-02-09Refactor: Compute appearance values before onDrawJules Aguillon2-88/+140
This moves some computations that used to be done during onDraw into the new Theme.Computed class. This also removes Paint objects from the Theme class, making it data-only. This is a requirement for making some keys render differently.
2025-02-09Refactor: Cleanup KeyValue flag declarationsJules Aguillon1-13/+12
Flag 'FLAGS_OFFSET << 8' was incorrectly mentionned as free and the value bits were not taking free flags into account and were bigger than expected.
2025-02-09Fix the compose key being lockableJules Aguillon1-2/+2
The compose key was lockable because it had the flag "FLAG_SPECIAL". Without this flag, the key is not lockable with a long press.
2025-02-09Add swipe actions on number row (#892)dzaima1-10/+10
2025-02-08Add a glyph for cancelling the compose keyJules Aguillon4-9/+15
2025-02-08Make the left and right keys symbol smallerJules Aguillon1-2/+2
Prevents the arrow symbols from colliding with the compose key symbol as the dpad key is very narrow.
2025-02-08Improve the compose key symbolJules Aguillon3-7/+7
Make the symbol bolder and slimmer.
2025-02-08Remove binding fn+shift = capslockJules Aguillon1-14/+17
This made is hard to type fn+shift. gesture+shift still locks shift.
2025-02-08Add embedded_number_row keyboard attribute (#891)dzaima3-4/+10
2025-02-04Improve the check_layout CI and outputJules Aguillon4-208/+52
Change the format of check_layout.output to avoid adding any logs for layouts that do not trigger any warning. Fix the check_layout CI, which was broken since check_layout.py was changed to take arguments.
2025-02-04check_layout.py: Adjust Shift, Tab and Esc checksJules Aguillon2-22/+20
2025-02-04Pressing the compose key exits the pending sequenceJules Aguillon2-1/+14
Allows stopping a compose sequence without typing anything. This is also a more intuitive behavior rather than starting a new sequence.
2025-02-04prefs: Mention Fn combination for accessing extra keysJules Aguillon1-12/+42
2025-02-03Even slower slidedzaima1-1/+1
2025-01-25Fix Enter key sending message in DiscordJules Aguillon1-1/+4
Set the flag FLAG_SOFT_KEYBOARD when sending key events stops Discord from sending message when typing Enter. The other values are the same that are sent when using sendDownUpKeyEvents().
2025-01-25Slightly less permissive swipe detectionJules Aguillon1-2/+3
This allows starting an anticircle gesture on a key with sliders on two opposite sides.
2025-01-25Maltese layout (#825)tenextractor4-0/+48
2025-01-25Update Russian translation (#884)solokot1-5/+5
2025-01-25Add Mongolian layout (#882)David Holdeman4-0/+48
2025-01-18Azerbaijani layout (#827)tenextractor4-0/+51
2025-01-18Vibrate when a circle gesture endsJules Aguillon1-0/+1
This is especially useful when discovering the circle gestures and to feel when a gesture has been entered by accident.
2025-01-18Stable ordering or extra keysJules Aguillon1-2/+2
Extra keys were ordered randomly everytime the settings were changed. Now, there's a single ordering for each combinations of options in the settings.
2025-01-18latn_qwerty_gb: Better position for ',.'Jules Aguillon1-4/+4
2025-01-18Add /release to .gitignoreLokesh Kumar1-0/+1
2025-01-12Refactor: KeyValue: Simplify StringWithSymbolJules Aguillon2-71/+24
This removes the Complex key kind and class by making StringWithSymbol a new kind of key.
2025-01-12Refactor: KeyValue: Don't require _payload.equalsJules Aguillon1-10/+6
Don't require _payload.equals to be implemented (correctly) and avoids inconsistencies with _payload.compareTo, which is required by type.
2025-01-12Improve layout WORKMAN (US)Jules Aguillon1-6/+6
Co-authored-by: goyalyashpal <yashpalgoyal1304@gmail.com>