abouttreesummaryrefslogcommitdiff
path: root/res/xml
AgeCommit message (Collapse)AuthorFilesLines
2024-03-02Improve the AZERTY layoutJules Aguillon1-1/+1
Add éèàç directly to the layout, which removes the corresponding dead keys. Remove the requirement for ù and ÿ from method.xml, which are extremely rare and can be typed via the compose key.
2024-02-24method.xml: Add en-CA and fr-CAJules Aguillon1-1/+3
Without this, the system might choose en-GB and fr-CH. This makes them more similar to en-US and fr-FR (without € in extra keys).
2024-02-22Remove € from en-GB extra keysJules Aguillon1-1/+1
2024-02-17Allow to remove the compose key in the settingsJules Aguillon3-3/+3
2024-02-17Add the compose key on alternate layoutsJules Aguillon2-2/+2
Though it is not useful in the greek-math layout, it could give ideas for new sequences.
2024-02-17Compose keyJules Aguillon1-1/+1
The COMPOSE_PENDING modifier indicate whether a compose sequence is in progress. The new key of kind Compose_pending sets the current state of the sequence. The compose sequences are compiled into a state machine by a python script into a compact encoding. The state of the pending compose is determined by the index of a state.
2024-02-16Add QWERTY GB layout (#557)Ryan Gibb1-1/+1
Adapted from latn_qwerty_us * Make it the default layout for en-GB
2024-02-14Don't invert the pin entry layoutJules Aguillon1-1/+1
The pin entry layout shouldn't be inverted as the letter indications would be meaningless and the order would be opposite to what the option specifies. The enter and action key are swapped as the automatic swapping is also removed.
2024-02-10Custom border settings (#524)RetrogisusDEV1-0/+3
2024-02-06Update method.xml to support arab_hamvaj_tly (#547)vedamanavi1-0/+1
2024-01-31Add language support for Talysh New Latin (#534)vedamanavi1-0/+1
2024-01-28Redefined the key margin options in percentJules Aguillon1-2/+2
Define the key margin options relative to the baseline dimensions of keys. This removes the doubling of the horizontal margin in landscape mode.
2024-01-21Move layout definitions into srcs/layoutsJules Aguillon44-1755/+0
This separates the layout definitions from the special layouts (bottom_row, greekmath) and other unrelated files (method, settings). This is also a more intuitive location for layouts and make the resource directory easier to navigate. Under the hood, layouts are copied back into build/generated-resources/xml.
2024-01-15Allow hidding the keyboard switching keyJules Aguillon3-3/+3
The keyboard switching key is now selected by default in the Extra Keys option and can be deselected.
2024-01-13Refactor: New namespace for preference classesJules Aguillon1-19/+19
2024-01-10Fix layouts containing empty keysJules Aguillon3-4/+4
This results in a key being the empty string and do not trigger an error: key1="\" Layouts are fixed and check_layout now checks for this case.
2024-01-09Revert "Remove the vibration settings"Jules Aguillon1-1/+2
This reverts commits ef03dfed5c802a855c4655204eee39a8769cfed7 and ff01678ba688778d67f824a0be56634974c1b0e8. The "vibration duration" slider is bought back. The "vibration enabled" option is replaced by "custom vibration", which switch between the system haptic feedback or the custom vibration. The slider is greyed when "custom vibration" is unchecked and is allowed to have a value of 0 to disable vibrations within the app. The intermediate values "light", "medium" and "strong" are removed and no migration of the setting is made.
2023-12-26Separate arabic layouts with hindu or arabic numeralsJules Aguillon5-25/+25
This reverts the Tusinian layout (1af4e45) and instead introduce a new arabic PC layout with arabic numbers. Layouts are renamed: - arab_pc => arab_pc_hindu - arab_pc_tn => arab_pc
2023-12-21Add Tunisian layoutJules Aguillon2-1/+46
It is a copy of the 'arab_pc' layout with arabic digits. Also, fix the default layout for arabic.
2023-11-13method.xml: Add ArmenianJules Aguillon1-0/+1
2023-11-13Add Armenian layout (#490)Rafael Grigorian1-0/+51
2023-11-01Remove extra paranthesis in persian layout (#485)Reza Hosseinzadeh1-2/+2
2023-10-28Add left/right slider to the emoji paneJules Aguillon1-0/+10
This entirely changes the implementation of the bottom row in the emoji pane.
2023-10-21Add '₽' to Russian layout and to the Fn layerJules Aguillon1-1/+1
Other currencies are moved on the Fn layer for consistency with the compose key.
2023-10-20Update the neo2 layout (#477)matthiakl1-4/+4
2023-10-20Add Bulgarian BDS layout (#479)Lyubomir Vasilev2-1/+42
2023-10-20Add `*` and `@` to Hindi layout (#480)Luke Videckis1-1/+1
2023-10-20Add page_up, page_down, home, end to extra keysJules Aguillon1-1/+1
The new keys are placed on the corner of the arrow keys. Key descriptions are added. They are removed from the Fn layer to avoid showing up twice.
2023-09-24Use standard Greek layout in greekmath.xml (#474)Ojas Bhagavath1-26/+26
2023-09-24Preferred position for locale `extra_keys`Jules Aguillon1-1/+1
`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-03Per-script numpadJules Aguillon2-2/+2
The numeric layout and the optional right hand side numpad are modified to show the digits belonging to the script used in the current layout. The numpads are still defined as it was before. The digits are changed in `modify_numpad` if needed.
2023-08-30Change Greek math koppa to lowercase (#457)Ben Slusky1-1/+1
Uppercase koppa can still be entered as shift+koppa.
2023-08-28Add Czech QWERTY layout (#455)pharook1-0/+37
2023-08-18Add urdu phonetic layout (#413)Shareef1011-0/+37
2023-08-18Added french bépo layout (adapted) (#402)Dimethylebutane1-0/+40
2023-08-18Add Bitcoin symbol to Fn+b (#434)Eluc1-2/+2
2023-08-17Fix slider movements changing input focusJules Aguillon1-1/+1
The slider was repeatedly sending arrow keys, which change the focused input when the end of a text box is hit. A new key is added that implements cursor movements using the `InputConnection` API. The new keys are defined as `KeyValue.Editing`, which are no longer only context menu actions. The behavior when a selection has started is changed. The selection is modified instead of cleared even when shift isn't pressed or the selection would become empty. Fallbacks to sending arrow keys for editors that do not support the API, like Termux.
2023-08-16Create latn_qwertz_fr_CH.xml (#390)Eluc2-1/+44
Adapted from qwertz DE to match qwertz fr_CH layout. Added all missing characters with accents needed in French while leaving the most common Swiss German characters as it is on the Swiss layout PC keyboard. Re-organized some special characters to be in a similar position than the PC layout. * Add locale fr-CH
2023-08-16Move voice input key (#433)Validbit1-2/+2
Move the voice input key to the top-left corner of the return key to reduce accidentally entering voice input, which is disrupting.
2023-08-16Allow multiple custom layoutsJules Aguillon1-3/+0
This merges the "Layouts" option with the "Custom layout" option. A custom layout becomes an item in the "Layouts" list among the other layouts. It's possible to add several custom layouts. Selecting the "Custom layout" item in the list opens a second dialog for entering the layout description. Layouts are serialized as JSON object and are decoded solely in the LayoutsPreference class.
2023-08-07Add ordinals to ptbr extrakeysRapha1-1/+1
2023-08-06Remove the Accents optionJules Aguillon1-1/+0
This option makes less sense since per-script extra keys. It's also getting in the way of an eventual "dead-key or accented-letters" option.
2023-08-06method.xml: Specify extra keys alternativesJules Aguillon1-15/+15
2023-08-05Add esc and tab to the Persian layoutJules Aguillon1-2/+2
2023-08-05Add Persian to method.xmlJules Aguillon1-0/+1
2023-08-05Modify arabic and persian numbers info function keysJules Aguillon2-3/+3
And add function keys placeholders in the layouts.
2023-08-02Settings: Move "extra keys" higher on the pageJules Aguillon1-3/+3
And "Accents" lower.
2023-07-30Allow more than 2 layoutsJules Aguillon4-5/+4
The two layout selection options are replaced by a ListGroupPreference that allow to enter an arbitrary amount of layouts. The "switch_second" and "switch_second_back" keys are replaced by "switch_forward" and "switch_backward", which allow to cycle through the selected layouts in two directions. Layouts are changed to place these two key on the space bar. The backward key is not shown if there's only two layouts.
2023-07-29Refactor: Split out ListGroupPreferenceJules Aguillon1-1/+3
Split out the implementation of a string-list preference from CustomExtraKeysPreference. Allows to share the implementation with future preferences.
2023-07-29Add dagger, double dagger, section mark, and pilcrow as extra keys on ↵Ben Slusky18-30/+30
QWERTY-like layouts (#410) * Add section mark as an extra key in QWERTY-like layouts that don't have it already * Add dagger (also double dagger) as an extra key in QWERTY-like layouts