abouttreesummaryrefslogcommitdiff
path: root/srcs
AgeCommit message (Collapse)AuthorFilesLines
2025-04-14Remove the Share key from preferencesJules Aguillon1-1/+0
2025-04-12launcher: Fix animations overlappingJules Aguillon1-1/+2
2025-03-29Restore previous swipe sensibilityJules Aguillon1-4/+12
The distance at which a swipe was considered successful was reduced in 188c682 to allow making circle gestures on a key that also had a slider. It was also useful in reducing accidental sliding. This is impractical for normal typing so it is reverted. The reduced range continues to be used for sliders.
2025-03-28Fix emoji flag group missingJules Aguillon1-2/+8
Off by one error when parsing the emoji groups.
2025-03-28Update latn_qwerty_jp.xml (#962)Haley Halcyon1-1/+1
Add macron, used in rōmaji for long vowels
2025-03-27Place editing keys on the bottom-right of Z/X/C/VJules Aguillon1-67/+28
The code is changed to ensure that extra keys all use a consistent location.
2025-03-27Remove symbols from the number row by default (#964)Jules Aguillon3-14/+19
The number row option is changed into a ListPreference and controls whether the number row contains symbols or not. Co-authored-by: Joey Schaff <j@jaoh.xyz>
2025-03-23Add a preferred position for selectAllJules Aguillon1-0/+7
2025-03-22Fix label brightness not being appliedJules Aguillon2-7/+8
This is due to Paint.setColor overriding any alpha value set with Paint.setAlpha. Bug was added in 653c598.
2025-03-22Swapping the default placement of ! and | on the Colemak layout (#949)Joey Schaff1-2/+2
Swapped placement of ! and | to make it more reasonable.
2025-03-16Fix crash on API < 26 in settingsJules Aguillon1-1/+3
2025-03-15Selection mode (#913)Jules Aguillon6-14/+118
* Selection mode: Space to cancel the selection This adds the "selection mode", which is activated when text is selected in the text box. The selection mode is exited when the selection is cleared. While the selection mode is activated, the Space and Esc keys are modified into the "selection cancel" key, which remove the selection without changing the text. The space bar is otherwise easy to type by accident during a selection and causes the selected text to be deleted. * Selection mode: Move each ends of selection separately with slider When the selection mode is activated, the space bar sliders change how they affect the selection: - The left side of the slider moves the left position of the selection. To shrink the selection from the left side, the slider must be activated by sliding to the left, extending the selection temporarilly, then by sliding to the right. - The right side of the slider affects the right position if the selection.
2025-03-10Add a delay after a Keyevent key in a macro (#918)Jules Aguillon3-17/+67
* Construct a single handler * Add a delay after a Keyevent key in a macro Add a delay before sending the next key to avoid race conditions causing keys to be handled in the wrong order. Notably, KeyEvent keys handling is scheduled differently than the other edit functions.
2025-03-01prefs: Add 'delete_word' and 'forward_delete_word' to extra keysJules Aguillon1-0/+28
The gesture combination is mentioned. Preferred position are added.
2025-03-01Add 'delete_word' and 'forward_delete_word' keysJules Aguillon5-10/+62
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)dzaima4-31/+141
* Add compact BQN layout * Add compact APL layout
2025-02-28Make key symbol smaller when 2 characters long or moreJules Aguillon1-4/+10
This was the case for string keys but not for macros or keys with custom symbols.
2025-02-28Refactor: Remove StringWithSymbolJules Aguillon3-47/+7
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 Aguillon2-8/+33
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 Aguillon1-0/+3
This avoids creating an empty dialog that appears as a mysterious white rectangle.
2025-02-27Fix crash due to empty strings in keysJules Aguillon1-1/+3
2025-02-23Apply compose sequences to String keysJules Aguillon5-56/+82
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 Aguillon5-104/+313
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-15prefs: Add key description for dead keysJules Aguillon1-0/+22
2025-02-15layouts/latn_bone.xml: improve (#760)Zitrone1-47/+106
* 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-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-08Add a glyph for cancelling the compose keyJules Aguillon3-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 Aguillon2-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)dzaima2-4/+8
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)tenextractor1-0/+42
2025-01-25Add Mongolian layout (#882)David Holdeman1-0/+42
2025-01-18Azerbaijani layout (#827)tenextractor1-0/+45
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-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.