abouttreesummaryrefslogcommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-04-02Upgrade CI workflow (#111)Raphael4-12/+46
* Cache dependencies on CI workflow * Use available fontforge version for CI action Avoid a dirty OS upgrade to get a newer version of FontForge, use what is available at Ubuntu 20.04 * Upgrade CI Workflow By using an appimage of FontForge, it's easier to install the latest version, to cache it, and there is no extra dependencies clashes with Ubuntu 20.04 * Make paths for fontforge absolute in makefile It's necessary because fontforge is an AppImage and requires it * Improve cache step on CI wget don't download a duplicate if file already exists * Generate base64 ascii encoded debug keystore That can be used to transfer the keystore to a Github Secret * Restore debug.keystore from github secrets Get the asc encoded keystore from github secrets, and decode it back to a bynary file inside the CI run. * Cleanup redundant lines and add explanation comment * runs-on ubuntu-latest Co-authored-by: Jules Aguillon <jules@j3s.fr> * add *.keystore.asc to .gitignore * Clean up lines, adjust documentation * use CURDIR automatic makefile variable Co-authored-by: Jules Aguillon <jules@j3s.fr>
2022-04-02Compute the swipe distance from the physical dpiJules Aguillon1-3/+5
The previous computation was very different depending on the device's screen and accessibility options. Given that the keyboard is supposed to fill all the space in one dimension, the dpi unit makes little sense. The formula doesn't mean anything in particular, it takes into account both dimensions (x and y) and should be close to the dpi in the diagonals (which is the direction of swipe). This changes the actual value, on a 1920x1080 480dpi screen, the value is increased by 20%.
2022-03-31µ, æ and œ also generated by FnArenaL51-7/+4
2022-03-31Add arrowsArenaL52-8/+16
Add simple arrows to the numeric keypad. Using the Fn key with these arrows will output double arrows.
2022-03-31Add non-breaking space as Fn+SpaceArenaL52-0/+2
2022-03-31Add extra symbols to FnArenaL51-46/+25
Also removed almost all combinations of diacritics and symbols to create extra symbols.
2022-03-31Add interpunct and move Tab in Spanish keyboardArenaL51-2/+2
Added the middle dot (·) to the Spanish keyboard, in order to be able to type Catalan words and names. Catalan is spoken in Eastern Spain, and the middle top is therefore included in standard PC Spanish keyboards. Also changed the Tab key to an upwards-leftwards swipe, as to follow more closely the programmer's layout qwerty.xml
2022-03-27CI: Install fontforge with NixJules Aguillon1-6/+11
And cache the nix store.
2022-03-25Fix CI since recent font changesJules Aguillon1-5/+9
Requires the latest version of fontforge. Re-order the steps to improve caching.
2022-03-25More reliable CI without NixMichael Levi1-14/+9
2022-03-25Add glyphs for Tab, Backspace and DeleteJules Aguillon4-3/+20
Tab is from IcoMoon. Backspace and Delete are from materialdesignicons.
2022-03-24Improve glyphs for accentsJules Aguillon11-694/+107
The accents are taken from the Roboto Regular font (Apache 2.0), added the dotted circle and exported with FontForge. The argument to FontForge's Import function are changed, the fifth argument controls the accuracy and needed to be lowered otherwise the grave accent wouldn't be rendered at all.
2022-03-24Update Home and End glyphsRaphael2-6/+18
Revert them to previous version, but now using SVG icons instead of a ttf font file
2022-03-24Revert to the previous CIJules Aguillon2-46/+19
The new CI script doesn't work on forks. This reverts commit f3aa218de40a44eeaf1e7ec169bb2b3d4da526ad. This reverts commit 3373c59b903cfcccedf31278f9f18ea305e3a567.
2022-03-23Improve CI scriptJules Aguillon1-6/+10
Upgrade nixbuild-action to put back spaces in the workflow name. Improve the script for retrieving the result, thanks to @rickynils.
2022-03-23Korean translationsnickid4-0/+67
2022-03-23CI: Use nixbuild.netJules Aguillon2-19/+42
The build takes place on the remote, which takes advantage of Nix's caching. The previous workflow used a remote cache but in order to build locally, all the dependencies needed to be downloaded from the cache everytime. The dependencies are 462M, downloading took most of the time.
2022-03-21Translate into Chinese-Simplifiedsix-61-0/+51
2022-03-21Update Spanish translationArenaL52-3/+5
and fix a couple typos
2022-03-21Add dead macron to Spanish layoutArenaL51-2/+2
This is only to make this layout more similar to the default English layout. Macrons are not actually used in any language spoken in Spain, but they appear to be used in some varieties of Nahuatl? Also added C-cedilla to the N-tilde key. Even if both C-cedilla and N-tilde are redundant in this keyboard, both letters are a staple of Spain keyboards, and Spaniards are used to have a dedicated key for C-cedilla in PC keyboards.
2022-03-21Correct displayed value when cancelling settings modificationArenaL52-0/+8
When changing any numeric setting and cancelling this change, the change would not be persisted, but the summary in the setting screen would show the last position of the slider instead of the correct unchanged value. This commit fixes this on the most simple way by resetting the slider position to the persisted value.
2022-03-21Increase vibration maximum from 50 ms to 100 msArenaL51-1/+1
2022-03-19Add F11 and F12Jules Aguillon13-50/+63
These keys are shown only when Fn is activated, "placeholder" keys are placed in the layouts.
2022-03-19Allow modifiers to hide keysJules Aguillon4-36/+66
Modifiers can temporarily remove a key from the layout by returning 'null'. Make sure pointer handling code handle these modified keys gracefully and doesn't trigger a key event and a vibration for the removed key.
2022-03-18Add glyphs for accent keysJules Aguillon11-9/+713
The "dotted circle" character combined with the accent was badly rendered on many devices.
2022-03-18Build all special glyphs from SVGJules Aguillon14-19/+58
Recover the provenance of each glyphs and remove the base_font.ttf file.
2022-03-17Stateless build of the special font fileJules Aguillon12-26/+83
Keep the glyphs in SVG format and build the font using a FontForge script. A part of the previous font is kept because the sources is lost. This adds a new dependency to the build system, fontforge.
2022-03-17Avoid ghost touches while holding modulated keysJules Aguillon1-0/+15
On some devices, bogus touch events can be sent while holding a key. With modulated keys, it can happens on top of other keys. Ignore every new pointers when a modulated key is pressed.
2022-03-16Show the switching key if there's several languagesJules Aguillon1-1/+4
Ensure the switching key is shown when there's several subtypes enabled, even if Android says not to show it.
2022-03-15Brazilian portuguese layout (#91)igorSilCar4-1/+42
* Providing a comprehensible Brazilian Portuguese keyboard layout removed cedille as it is already provided by an independent key; changed layout to correspond to the locale
2022-03-15Handle CANCEL touch eventsJules Aguillon2-3/+16
Handling this event is part of the API but was never done. This caused unstoppable key-repeat. This event isn't common, the only way I found on Android 10 is to switch to the emoji keyboard while holding a key. Some apps might cause this event more often.
2022-03-15Add Swedish layoutJacob Strömgren4-6/+51
2022-03-15Log editor infos while debuggingJules Aguillon2-0/+21
Useful when debugging why the keyboard doesn't work as expected with a specific app.
2022-03-14Identify debug version in app nameJules Aguillon7-8/+8
Using the --product option of aapt. Remove the app name from translations because it is never translated. It is still possible to translate it by specifying 'product="default"'.
2022-03-13Fix crash since 2ea256eJules Aguillon1-1/+1
2022-03-13Improve symbols for Sup, Sub and OrdJules Aguillon1-3/+3
2022-03-13Make superscript and subscript modifiers lockableJules Aguillon2-1/+5
2022-03-13Avoid showing some symbols twice in Fn modeJules Aguillon3-27/+25
2022-03-13Define localized keys as a set instead of flagsJules Aguillon4-73/+49
Using flags for removing keys like € and ß need too many flags and won't scale to more localized keys.
2022-03-12Fix inconsistent highlighting of lockable keysJules Aguillon1-1/+1
Pointers.getKeyFlags might receive a different KeyValue than what's stored in the pointer due to caching. Compare names instead.
2022-03-09Brazilian portuguese translations (#100)igorSilCar1-0/+2
* Translations for new setting, lockable modifier keys Co-authored-by: Igor da Silva de Carvalho <igu@coiso.meanhouse>
2022-03-06Make the font smaller for the action keyJules Aguillon2-3/+8
2022-03-05Fix action key not updating when switching fieldJules Aguillon1-1/+2
The keyboard was updated before the action key is.
2022-03-05Clicking twice on CTRL or ALT will lock them in 'ON' state (#72)Raphael4-3/+29
* Clicking twice on CTRL or ALT will lock them in 'ON' state * Make Locking behaviour optional, configurable in preferences * Nest the new settings into a different page To avoid spamming the settings page and repetition in the summaries. Cannot be a popup unfortunately because that would require API >= 11. * Add Fn and Meta Co-authored-by: Jules Aguillon <jules@j3s.fr>
2022-03-05Improve the code for dynamic updates of the layoutJules Aguillon5-89/+37
2022-03-05Brazilian portuguese translations (#87)igorSilCar4-0/+68
* Added brazilian portuguese translations for app description and settings * making the swiping option more intelligible * fix typo on full_description pt-BR translation Co-authored-by: Igor da Silva de Carvalho <igu@coiso.meanhouse>
2022-02-27Release 1.13.1 (18)Jules Aguillon2-1/+6
2022-02-27Use the Material theme for the settings activityJules Aguillon1-1/+1
This is a dark theme. It's probably better than the default theme for most users.
2022-02-27Reduce the text size for some keysJules Aguillon2-15/+19
The symbols are now smaller for Shift, Space, Backspace, Delete and some keys on the bottom row. The previous rule was to make the text smaller for symbols made of several characters. This is changed to a flag approach.
2022-02-27Increase contrastsJules Aguillon1-12/+12
For the Dark and Light theme. At the same time, use only "web safe colors" to have nice round numbers and ensure enough contrasts between colors. The background color is kept at the previous value, there's not enough contrast between the background and the keys but that's better than a solid black background.