abouttreesummaryrefslogcommitdiff
path: root/res/xml/bottom_row.xml
AgeCommit message (Collapse)AuthorFilesLines
2024-02-17Allow to remove the compose key in the settingsJules Aguillon1-1/+1
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-01-15Allow hidding the keyboard switching keyJules Aguillon1-1/+1
The keyboard switching key is now selected by default in the Extra Keys option and can be deselected.
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-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-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-07-30Allow more than 2 layoutsJules Aguillon1-1/+1
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-06-03Add Voice Typing keyJules Aguillon1-1/+1
The new key switches to any installed "voice" input method. If several input methods matches, no effort is made to choose. Might misbehave with some input methods other than Google's on API < 28. It is placed on the middle of the arrows on the bottom bar. It is enabled by default and can be removed in the "Extra keys" option. The key is not removed from the keyboard if no voice input method exists.
2023-03-05Remove the 'edgekeys' attributeJules Aguillon1-2/+2
2023-01-29Slightly increase the width of the spacebarJules Aguillon1-5/+5
The left and right arrows are less often needed and the key can be shorter.
2023-01-22Move cursor by sliding on the space barJules Aguillon1-1/+1
Send key events for the left or right arrow as the finger slides on the space bar. Can be used to select text by holding shift. Works under Termux. Events are sent linearly as the finger travels. The distance between each events is defined from the swiping distance divided by 4. 'slider="true"' can be set on a key that have 'edgekeys="true"'. 'key2' and 'key3' represent the right and left keys.
2022-11-13Allow switching quickly between two layoutsJules Aguillon1-1/+1
A new option allow to choose a secondary layout, the switching key is placed on the top edge of the space bar. The "Programming layout" option was basically doing that but it was possible to choose from a few layouts only. It is improved and renamed. The 'LayoutListPreference' allows setting the string for the first entry but otherwise share the rest of the array. Add nice icons from materialdesignicons.
2022-10-16Allow to disable Alt and Meta keysJules Aguillon1-2/+2
The keys are marked "loc" in the layouts and are handled like the other extra keys. The only difference is that they are enabled by default (for now).
2022-09-24Add switch_greekmath to the extra keysJules Aguillon1-1/+1
The Fn+switch_numeric shortcut might be hard to discover or too slow for heavy users. A location is allocated for the key so it has a consistent placement.
2022-04-03Revert "Swap Ctrl and switch_numeric keys"Jules Aguillon1-1/+1
This reverts commit b85b67c2f03d1dd1ed96f8352c06e5e23fcbccfe. The Ctrl key was too hard to use in the new position, especially in combination with arrows or backspace. Leave the switching key in the numeric layout however, where the Ctrl key is not very useful. Put Ctrl on the top-right because bottom-right is where the switching key is in the other layouts.
2022-04-03Add the Programming Layout optionJules Aguillon1-1/+1
Allow specifying a layout for programming and add a key for switching to it easily. The switching key is placed on the top edge of the space bar. The option has no effect by default because the ergonomic isn't ideal, it needs to be enabled explicitly. Users of Latin-script languages certainly prefer to use one layout (for programming or not). This feature might be removed in favor of a better language-switching mechanisms in the future.
2022-04-03Swap Ctrl and switch_numeric keysJules Aguillon1-1/+1
The switch_numeric key is generally more important, especially in the numeric pane.
2022-04-03Swap Fn and AltJules Aguillon1-1/+1
Fn is increasingly more important while Alt is generally not.
2022-02-07Define the bottom row separatelyJules Aguillon1-0/+8
Avoid divergences when the bottom row is modified.