Commit Graph

706 Commits

Author SHA1 Message Date
Jules Aguillon
2dbb3dc28f Allow different sizes
Improve Paint code.
2021-04-24 23:18:16 +02:00
Jules Aguillon
5688e181fa SlideBarPreference: Reduce the number of step
To have cleaner values.
2021-04-24 23:12:06 +02:00
Jules Aguillon
87b237494a Add some missing keycodes
Allows to sent ctrl and alt combinations. Notably the ] character.
2021-04-21 23:25:14 +02:00
Jules Aguillon
93c0ff5ff6 build: Explicitly set signing algorithms
Newer versions of jarsigner default to SHA256, which is unsupported for
some versions of Android we support.
2021-04-20 23:01:36 +02:00
Jules Aguillon
f466b1c127 Release 1.7 (8) 2021-04-20 00:59:20 +02:00
Jules Aguillon
59cff03e70 Adjust azerty layout
Add the 'change_method' key and remove a key that is available through
accents.
2021-04-20 00:57:03 +02:00
Jules Aguillon
e57c7a7f3a Set the en_US layout default
Now that it's necessary to change the device's settings to use a
different layout, qwerty is a better international default than azerty.
2021-04-20 00:51:18 +02:00
Jules Aguillon
66b7b532c9 Disable vibration when holding keys 2021-04-20 00:35:52 +02:00
Jules Aguillon
5dec9c1215 Add a setting for precise repeat 2021-04-20 00:34:21 +02:00
Jules Aguillon
83b3212d3d Add precise repeat on some keys
Repeat speed increase as the pointer is away from the initial position.
On arrows, backspace and delete.
2021-04-20 00:10:45 +02:00
Jules Aguillon
d04e078816 Add more characters under accents
Notably subscript and superscript digits and some quote characters.
2021-04-19 23:10:00 +02:00
Jules Aguillon
2200e2f313 Move some keys under the Fn modifier and move it on the bottom row 2021-04-19 22:29:20 +02:00
Jules Aguillon
471375d50c Add function keys
Add the Fn modifier that change the digits into F1 to F10.
2021-04-18 23:58:35 +02:00
Jules Aguillon
2f8eae628f Fix crash when no current input binding
Broken recently. Restore previous code
2021-04-18 23:31:59 +02:00
Jules Aguillon
81803c406a Separate handling of modifiers from KeyValue class
KeyValue defines an ADT and some of its values, it now contains public
final fields and no internal logic.
KeyModifier handles modifiers and accents and creates new instances of
KeyValue when needed.
This operation is now properly cached.
2021-04-18 23:28:49 +02:00
Jules Aguillon
67d3a99a92 Cleanup key definitions
Remove repeated code and remove side-effects from the constructor.
2021-04-18 21:58:13 +02:00
Jules Aguillon
ade0d0ddcf Improve the bottom row
Remove the "emoji" and "conf" action from the enter key. Move the former
to the "arrows" key and the latter to "p".
Slightly increase the size of the keys around the spacebar, and decrease
the spacebar size.
2021-04-18 01:05:20 +02:00
Jules Aguillon
9d6b22f916 Rework the numeric layout
Remove the empty keys, make it more symetric and add more characters.
2021-04-18 00:57:10 +02:00
Jules Aguillon
5ed937a654 Render the emoji key as ":)"
In order to remove the colors in the rendering.
2021-04-18 00:56:20 +02:00
Jules Aguillon
f8bce500ff Hide the input switching key if it's not needed
Android has a new way of switching between input methods and this key
need to be hidden in most cases.
2021-04-18 00:55:31 +02:00
Jules Aguillon
1421bccc7b Remove fixed keyboard width
Remove the constant of keys per rows. Add the 'shift' attribute to
declare eventual alignment/blanks in layouts.
2021-04-17 23:56:51 +02:00
Jules Aguillon
ca07bff133 Use subtypes to choose layout
This removes the "layout" setting. Every layouts that the user could use
will appear in the global settings.
2021-04-15 23:56:34 +02:00
Jules Aguillon
c22ca7302c Stateless KeyboardData class
It was a pain to use. It was also a pain to write this though.
2021-04-15 23:23:31 +02:00
Jules Aguillon
eac74d3f22 Add an option to toggle accent keys
These keys are not useful at all in English. A new option allows to hide
them, [false] by default.
2021-04-13 02:00:08 +02:00
Jules Aguillon
0b1befcc88 Fix layout pref under debug builds
Remove the use of [getIdentifier] because it requires the current
package name to be passed, which can't be found reliably since the
change in build system.
2021-04-13 01:58:25 +02:00
Jules Aguillon
5f5efe3157 Change build system to make
The ant scripts included in the android SDK were removed recently. The
alternative is Gradle.
Gradle doesn't work well in this app because it's not possible to use
Nix to pull dependencies. Gradle will try to patch the SDK.
Also, it's very slow.

It turns out the required build script is quite simple.
2021-04-13 00:29:26 +02:00
Jules Aguillon
553185c3ae Release 1.6 (7) 2021-01-17 00:32:18 +01:00
Jules Aguillon
a27b5e7481 Slightly improve emoji group buttons 2021-01-17 00:20:09 +01:00
Jules Aguillon
77e0efd3de Remove duplicate emojis and skin tones
Statuses other than "fully-qualified" are duplicates or won't render.
Skin tones are available using combinations, no need to keep each
variants.
2021-01-17 00:20:09 +01:00
Jules Aguillon
a165a0ab2e Update the list of emojis
Take the list from https://unicode.org/Public/emoji/13.1/emoji-test.txt
Also change the list of groups, from the same source.
2021-01-17 00:20:09 +01:00
Jules Aguillon
5fa7187d16 Use openjdk8 2021-01-16 22:01:26 +01:00
Jules Aguillon
21b5838a1d Use more recent Java 2021-01-05 00:39:49 +01:00
Jules Aguillon
8dc085048a Remove the preview popup
This was a half-finished feature:
- Dangerous when typing passwords
- Caused crash on some devices
- Ugly (on its own but also blinking when sliding and not fixed in size)
2021-01-05 00:18:24 +01:00
Jules Aguillon
1cda23ad2c Upgrade the platform version to 29 2021-01-04 23:50:51 +01:00
Jules Aguillon
3c04e0eebb Use full class path in AndroidManifest
Allows to make debug variant of the app by only changing the `package`
attribute.
2021-01-04 23:48:54 +01:00
Jules Aguillon
539c7fcd74 Add 'shell.nix' and build the project
Add a working environment and specify Java version
2021-01-04 23:31:04 +01:00
juloo
0b94395233 switchToNextInputMethod key 2016-12-11 22:45:58 +01:00
jaguillo
162f17a7a0 Move configs to Config object 2015-10-29 12:49:40 +01:00
jaguillo
51d61e8a6b Update play store images 2015-10-28 23:35:40 +01:00
jaguillo
a12cc5bbe2 Upgrade 1.5 (6) 2015-10-28 22:57:43 +01:00
jaguillo
ffba149934 preview_enabled settings 2015-10-28 22:54:38 +01:00
jaguillo
da72455d35 Improve preview popup 2015-10-28 20:56:28 +01:00
jaguillo
8fbe456074 A bit of style 2015-10-28 17:47:12 +01:00
jaguillo
16763a5f1b Show preview popup 2015-10-28 16:15:19 +01:00
jaguillo
804e9a7adc Fix some bugs + Try to show a preview popup 2015-10-28 00:39:20 +01:00
jaguillo
8716801261 Improve init of emoji pane 2015-10-27 15:05:50 +01:00
jaguillo
1044daefb4 Update 1.4 (v5) 2015-10-27 14:43:19 +01:00
jaguillo
ed53b1a23b Fix crash + Fix emoji type buttons 2015-10-27 14:39:27 +01:00
jaguillo
2c859f30a6 More emoji category + Fix last emoji used saving 2015-10-26 20:48:07 +01:00
jaguillo
e95ccbec00 Last used emoji 2015-10-26 14:19:46 +01:00