abouttreesummaryrefslogcommitdiff
path: root/srcs
AgeCommit message (Collapse)AuthorFilesLines
2022-11-05Automatic day night theme in settings activityJules Aguillon1-0/+15
There seems to be no "DayNight" theme compatible with older version of android outside of the androidx library. Using 'Theme.DeviceDefault' which is a dark theme, even if it doesn't sounds like. Detect if a light theme should be used at activity creation.
2022-11-01Use '₹' instead of '₨' in HindiJules Aguillon1-0/+1
₨ is Shift+₹.
2022-11-01Add the 'qwertz_de' layoutJules Aguillon1-8/+9
Similar to 'qwertz' but is wider to show äöü on dedicated keys. Some punctuations are rebalanced to use the space better. The default layout for de_DE is changed.
2022-10-24Draw letter indication on the pin layoutJules Aguillon3-7/+36
There is no way to type letters on the pin layout, the indication are decoration only. Use the E.161 standard.
2022-10-24Add the pin entry layoutJules Aguillon2-5/+19
The layout is used for phone number and datetime input boxes as well as some numbers. It is easier to use when the full numeric layout is not needed.
2022-10-23Disable Alt and Meta by defaultJules Aguillon1-3/+0
The Meta key is not useful. The Alt key can be used in a terminal but is not useful to a part of terminal users.
2022-10-23Add optional NumPadGero Streng3-7/+57
Shows a NumPad depending on preference: Never/Landscape/Always
2022-10-23Make the shift symbol biggerJules Aguillon1-1/+1
2022-10-23Show keys description in settingsJules Aguillon2-2/+25
The symbols alone might be hard to understand when scrolling through the "extra keys" option.
2022-10-23Refactor: Remove boilerplate for symbol keysJules Aguillon1-33/+49
2022-10-23Add the capslock keyJules Aguillon8-10/+23
The key enable caps lock immediately. It does nothing if caps lock is already enabled. It is not present on the keyboard by default but a place is defined on every layout, top-right of the shift key. It can be enabled in the settings. The icon is from materialdesignicons.com.
2022-10-16Autocapitalisation: Avoid trigerring when Ctrl+DelJules Aguillon2-2/+8
Autocapitalisation could trigger while repeatedly typing Ctrl+Del to remove several words.
2022-10-16Allow to disable Alt and Meta keysJules Aguillon1-1/+16
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-10-16Disable fullscreen modeJules Aguillon1-0/+7
This mode is annoying to some users and is disabled in most text views. The keyboard has a fixed sized relative to the height of the screen in landscape mode. The keyboard can't take more space than expected, currently. This might cause problems in the future and might be hidden behind an option if one is found. Every text views so far seemed to behave fine.
2022-10-16Fix literal tab keyJules Aguillon1-1/+1
Broken since 31d6a70d.
2022-10-15Add the breve diacriticJules Aguillon5-16/+37
2022-10-15Basic greek layout. (#207)lpv1-0/+1
* Basic greek layout.
2022-10-15Fix crash due to auto capitalisationJules Aguillon2-38/+43
It is unclear how _autocap.started is not called first but nothing is preventing to initialize things earlier.
2022-10-11Added Hindi language layout (#211)Raj90398525371-0/+1
* Hindi Keyboard Layout Hindi keyboard layout added Basic symbols like brackets, colons etc are useful. This includes ( ) { } [ ] \ / ÷ - + = ! % : ; . , ?
2022-10-04Allow to type İ on the Turkish layoutJules Aguillon1-0/+4
In Turkish, upper case of 'iı' is 'İI' but Java's toUpperCase will return 'II'. To make 'İ' accessible, make it the shift of 'ı'. This has the inconvenient of swapping i and ı on the keyboard.
2022-09-24Fix an unexplained crash encountered in the wildJules Aguillon1-2/+10
For some reason, 'subtype' can be null. Perhaps because the keyboard is started before the IMM is ready.
2022-09-24Added Czech translation and layout (#198)Validbit1-0/+1
* Added Czech translation and layout Translated keyboard and created Czech multilingual "practical" layout for faster typing and typing in commonly used languages (German, Slovak + French w/accents) * Update (Rephrase) full_description.txt ... to better suit the language and naturally promote keyboard's features and possibilities to a wider audience.
2022-09-24Improve the auto capitalisationJules Aguillon2-17/+22
- Detect when the input box is cleared - Avoid looking up keys on the keyboard every time the shift state needs to change.
2022-09-24Fix autocapitalisation randomly not triggeredJules Aguillon2-36/+67
The autocapitalisation is asking the editor about whether to enable shift and must make sure to ask after the editor is done processing the events.
2022-09-24Bone keyboard layout (#155)Quantenzitrone1-0/+1
2022-09-24Add switch_greekmath to the extra keysJules Aguillon1-1/+2
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-09-24Add more possible locations for extra keysJules Aguillon1-0/+6
Avoid dropping some keys on crowded layouts.
2022-09-24Add white e-ink oriented theme (#193)Piotrek Marciniak1-10/+1
* Add white e-ing oriented theme Co-authored-by: Jules Aguillon <jules@j3s.fr>
2022-09-24Added Norwegian keyboard layout (#202)ChristianGynnild1-0/+1
2022-09-24Bengali Keyboard Layout (#201)Md Rasel Hossain1-0/+1
* Bangla Layout
2022-09-19Add the Extra Keys optionJules Aguillon5-15/+89
Allows to add more keys to the keyboard from a predefined list. The implementation doesn't use MultiSelectListPreference because it doesn't seem possible to change the item layout to properly show the rendered symbols.
2022-07-30Fix crash when auto-capitalisation runs too soonJules Aguillon1-0/+2
This is unexpected but happens once.
2022-07-30Fix auto-capitalisation interfering with caps lockJules Aguillon2-2/+3
Add a flag to recognize fake pointers and avoid clearing the intentionally locked shift key.
2022-07-30Standard auto-capitalisation only after spaceJules Aguillon2-87/+32
Change the capitalisation algorithm to use Android's 'getCursorCapsMode'. This requires a bit of cursor calculations but should feel more standard. The auto completion only triggers after a space is typed or backspace is pressed.
2022-07-24Hold any modifier to lockJules Aguillon3-27/+55
Modifiers can be locked with a long press. The key repeat mechanism is re-used and the press timeout is the same. Every modifiers can be locked that way, not only the "lockable" ones. The previous behavior can be enabled in the settings (for shift only) but the default is changed.
2022-07-24Add an option to control auto capitalisationJules Aguillon2-1/+4
2022-07-24Avoid automatic capitalisation when using arrowsJules Aguillon2-8/+42
Disable capitalisation just after an arrow kind is pressed to avoid interrupting navigation.
2022-07-24Automatic capitalisation at beginning of sentencesJules Aguillon5-4/+218
Keep track of end-of-sentence characters while typing and automatically enable shift when appropriate. The last few characters just before the cursor need to be queried in some cases: Begin of input, cursor has moved or text is deleted. This might have a performance cost. This normally only enable shift but it also needs to disable shift when the cursor moves.
2022-07-09Add alternative greek and math symbolsquantenzitrone1-0/+30
2022-07-09added uppercase ẞ of ßQuantenzitrone1-0/+1
2022-07-09Switch to greekmath with Fn+switch_numericJules Aguillon1-0/+10
Add a shortcut to switch to the greekmath pane directly from the main layout.
2022-07-09Add key for switching to the greekmath paneJules Aguillon3-1/+10
The key is placed on the 3rd row of the numeric pane, by taking some space from the shift key.
2022-07-03Add ukrainian layout (#172)Andrew Cat1-0/+1
2022-07-03Compatibility with API level < 24Jules Aguillon1-1/+1
The Math.floorMod method was added on API level 24.
2022-06-24Revert "Remove the vibration settings"Jules Aguillon2-0/+5
Bring back the "Vibration" option. The duration option isn't added back because the vibration settings are still handled by Android. In fact, the option has no effect if the vibration are disabled in the system settings. This partially reverts commit ef03dfed5c802a855c4655204eee39a8769cfed7.
2022-06-24Fix F12 being turned into F11Jules Aguillon1-1/+6
The "f11_placeholder" and "f12_placeholder" keys were equals since 31d6a70. Add an incrementing id into the unused key value to differentiate placeholder values.
2022-06-24Fix localized key not in predefined positionJules Aguillon7-76/+123
The "loc " prefix for predefining a place for an "extra key" was broken since 31d6a70. The FLAG_LOCALIZED flag cannot be used anymore, as adding it to any key would turn it into a different key that wouldn't be recognized by parts of the code comparing the keys (placing the extra keys). Add an other layer in KeyboardData to store such informations.
2022-06-06Remove the interval between vibrationsJules Aguillon1-12/+3
This is no longer necessary since repeating key no longer cause a vibration.
2022-06-06Remove the vibration settingsJules Aguillon2-17/+4
Instead of using the vibrator directly, use performHapticFeedback, which will integrate better with the system settings.
2022-06-06Fix inconsistent text size in landscape modeJules Aguillon1-4/+8
Dimens weren't refreshed when the orientation changed. Dimens are not the right solution anyway, use scaling factors instead.