abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/LayoutModifier.java
AgeCommit message (Collapse)AuthorFilesLines
2025-12-18Disable selection mode in text editors (#1141)Jules Aguillon1-5/+7
* Disable selection mode in text editors Selection mode removes the space bar key (which is replaced by the Esc key) and can be annoying in Emacs for example. Text editor users probably have the `esc` key available. * Refactor: Move EditorInfo related code to EditorConfig Add the new EditorConfig class that handles configuration extracted from the EditorInfo. It is accessible from the Config class for convenience. This aims at reducing the length of already large classes and group the code that was spread over several classes.
2025-03-27Remove symbols from the number row by default (#964)Jules Aguillon1-4/+6
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-02-23Apply compose sequences to String keysJules Aguillon1-9/+2
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-08Add embedded_number_row keyboard attribute (#891)dzaima1-1/+1
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-03Remove numpad keys from the main layoutJules Aguillon1-5/+14
When the numpad is visible, remove the digits and arithmetic symbols from the main layout. Similarly to when the number row is added.
2025-01-03Allow 'loc' keys to be present several timesJules Aguillon1-13/+17
2024-12-31Refactor: Simplify double tap for capslockJules Aguillon1-9/+0
This doesn't fix a bug but remove some tricky code. The shift key is no longer different when the "double tap for capslock" option is on. The handling of the option is moved to Pointer instead and becomes simpler.
2024-12-29Fix crash in LayoutModifierJules Aguillon1-1/+3
2024-12-26Refactor: Move code to LayoutModifierJules Aguillon1-0/+217
Layout modifying functions are removed from Config to LayoutModifier as static classes. The two classes are (weakly) mutually dependent, the refactoring is purely for the purpose of making shorter classes. The only change is that 'modify_numpad' is changed to remove duplicated code. This has the side effect of making the "double tap for caps lock" option affect the shift key in the numpad.