Commit Graph

69 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
jaguillo
8bd0214e26 Emoji pane 2015-10-24 16:32:49 +02:00
jaguillo
db20d52884 Start with emojis 2015-10-23 14:22:43 +02:00
jaguillo
7fb89b0c95 Stop special handling of delete keys 2015-10-17 00:54:28 +02:00
jaguillo
6bb257fd75 Special key font + Esc key 2015-10-13 00:02:34 +02:00
jaguillo
03cc0a5429 Key to switch to numeric pane 2015-10-11 15:30:39 +02:00
jaguillo
549c753450 Perf improvement (small) 2015-10-03 00:19:17 +02:00
jaguillo
700adbded6 Mini fix 2015-10-01 17:11:52 +02:00
jaguillo
81ec226fcf Add margin_bottom, key_height and horizontal_margin configs 2015-09-30 22:48:16 +02:00
juloo
373f1b11f1 Add trema accent + Add accents to azerty 2015-08-18 01:33:50 +02:00
juloo
d81509d7ec Accent 2015-08-18 01:25:47 +02:00
juloo
8f3d1a4d38 Fix key repeat on meta keys and empty keys 2015-08-18 00:17:20 +02:00
juloo
9d614bc4fe More settings 2015-08-08 23:07:38 +02:00
juloo
6f09c971c0 SideBarPreference + Continuing settings 2015-08-08 22:33:06 +02:00
juloo
fe432fd3ba Conf key open SettingsActivity 2015-08-08 17:58:03 +02:00
juloo
153c384990 Start SettingsActivity 2015-08-08 16:47:22 +02:00
juloo
c29a2a9c9c Todo settings 2015-08-08 15:26:23 +02:00
juloo
f22452488d Move logcat 2015-08-07 01:49:37 +02:00
juloo
117e4a3d4f Improve key repeat 2015-08-05 01:30:56 +02:00
juloo
bee4334626 logcat.py 2015-08-04 21:07:28 +02:00
juloo
40885f5760 Add icons + Nothing 2015-08-04 17:55:48 +02:00
juloo
1be1ec7a4b Add qwerty layout + popup to change layout 2015-08-03 20:01:05 +02:00
juloo
b32f2ce3f3 Fix del key and keyEvent keys 2015-08-03 15:58:13 +02:00
juloo
e9df9bc299 Repeat key on long press 2015-08-03 15:11:11 +02:00