Commit Graph

699 Commits

Author SHA1 Message Date
Sancho
1b3224ab5d
Type split improvements (#1054)
* PLTypeSplitSymbols: Fix shifted input of tilde and double quote

Shifted swipe type is TWO_WAY_HORIZONTAL, which makes it impossible to
input '`' and '"'. Change it to FOUR_WAY_CROSS.

Fixes: dea3d03702 ("Add PLTypeSplitSymbols (#851)")
Signed-off-by: h67ma <szycikm@gmail.com>

* PLTypeSplit*: Move a few letters to more sensible places

Letter positions in PLTypeSplit and PLTypeSplitSymbols layouts are based
on QWERTY, however a few letters reside in unexpected places, which
makes writing a bit unintuitive. The middle row is also unbalanced -
left half has 4 letters, while right side has 8 (granted, these are less
frequently used ones).

Move a few letters to more familiar positions:
* Move G to left half
* Move F to left half
* Move J more to the left
* Move ` and ~ elsewhere to make place for F and G (only
  PLTypeSplitSymbols)

Note that one letter is still in a "wrong" place: D, which should be in
the left half. However, it can't be moved as it's more popular than all
letters in the right side middle row (except K), and A and S are more
popular and they already occupy both available slots in the left half.

Signed-off-by: h67ma <szycikm@gmail.com>

* PLTypeSplitSymbols: Add more symbols

Improve the layout by adding more symbols and tweaking the positions of
present ones:
* Add missing symbols: '#', '$', '%', '^', '&', '|'
* Rearrange some symbols to make '?' easier to type and create some nice
  pairs (like ':' and ';', '\' and '/')
* Replace the middle space with symbol selector, which inputs '.'
  without swipe (why would you need two spaces anyway?)
* Replace the bottom space with a symbol-less one, since all symbols
  are now nicely grouped on the key above
* Move the funny face emoji macro thing (?) to numeric keyboard to make
  place for standard characters. This affects all layouts that use
  TYPESPLIT_NUMERIC_KEYBOARD (and FRENCH_TYPESPLIT_NUMERIC_KEYBOARD too,
  for consistency)

Signed-off-by: h67ma <szycikm@gmail.com>

* TypeSplit: Swap swipe actions on numeric/emoji keys

Swipe actions are hard to input on keys that are in the corner of the
screen. In *TypeSplit layouts, bottom left corner is occupied by numeric
keyboard switch key, which also has some useful text edit options on
swipes (copy, paste, undo, etc.). In contrast, the emoji key has some
rather uncommon actions on it (settings, input method/layout switcher).

Swap the two swipe sets in order to bring the more useful actions to a
much more convenient place. Main key functions are preserved (emoji,
numeric keyboard switcher).

Because in the numeric layout the swipe set has also changed, add the
now-missing text edit swipes to one of the spaces and remove the
settings action (now covered by bottom-left key).

These changes affect all *TypeSplit layouts.

Signed-off-by: h67ma <szycikm@gmail.com>

* NumericTypeSplit: Remove shift

Remove shift mode from NumericTypeSplit and NumericFrenchTypeSplit
numpads, as it doesn't have any effect there.

Signed-off-by: h67ma <szycikm@gmail.com>

* NumericTypeSplit: reorganize interpunction and symbols

On *TypeSplit keyboards, the numeric keyboard is often the only way to
input most special symbols. However, those symbols are poorly organized.
The ones commonly found on the numeric row ('!', '@', '#', ...) are
found on seemingly random digit keys, making it hard to localize them.
Furthermore, the layout is cluttered, with many symbols packed on a
single key (in some cases up to 7 symbols on one key).

Move numeric row symbols to keys where the user would be expecting them:
'!' to 1, '@' to 2, '#' to 3, etc., with the exception of '(', which is
left on the side of the keyboard, so that the brackets lie in
symmetrical places. Each of the 8 symbols is activated by swiping
towards 5 (and '%' is swipe down).

Move a few symbols to one of the currently empty spaces on the left side
to declutter the numpad area.

Remove ',' and '.' from numpad, as they are already available on the
right side of the layout.

Move a few other other symbols to be more evenly spaced out and easier
to access.

Signed-off-by: h67ma <szycikm@gmail.com>

---------

Signed-off-by: h67ma <szycikm@gmail.com>
2024-09-10 14:04:16 -04:00
renovate[bot]
d1d96dcffe
Update dependency androidx.compose.material:material-icons-extended-desktop to v1.7.0 (#1049)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-09 16:08:20 -04:00
renovate[bot]
120ef726fa
Update dependency androidx.compose:compose-bom to v2024.09.00 (#1050)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-09 16:08:11 -04:00
renovate[bot]
9ed450a382
Update dependency androidx.emoji2:emoji2-emojipicker to v1.5.0 (#1051)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-09 16:08:02 -04:00
renovate[bot]
11676a5942
Update dependency androidx.navigation:navigation-compose to v2.8.0 (#1052)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-09 16:07:54 -04:00
renovate[bot]
714ceabbb1 Update dependency androidx.activity:activity-ktx to v1.9.2 2024-09-08 21:27:43 -04:00
renovate[bot]
a5da71db75 Update dependency androidx.activity:activity-compose to v1.9.2 2024-09-08 21:18:03 -04:00
Dessalines
cbb592f263 Upping version. 2024-09-01 21:44:09 -04:00
Dessalines
b98ed34116
Adding EN Thumbkey Words. (#1039)
- Fixes #1034
2024-09-01 21:32:28 -04:00
renovate[bot]
e3d897ee90 Update dependency com.github.jeziellago:compose-markdown to v0.5.4 2024-09-01 21:27:38 -04:00
Diego López
4f9664eb05
Added ES thumb-key symbols layout (#1035)
* Added ES thumb-key symbols layout

* Added ES thumb-key symbols layout. Fix formatting
2024-08-30 15:29:59 -04:00
Dessalines
6f03303eda Upping version. 2024-08-30 09:25:37 -04:00
foldfree
2c9c05cb0c
add hyphen - to the first layer of FRThumbKeyV2.kt (#1031)
* add hyphen `-` to the first layer of FRThumbKeyV2.kt

Trait d'union - Hyphen is a common character in french:

grand-mère, couvre-lit, quatre-vingts
Jean-Luc, Marie-Lise
c'est-à-dire, vis-à-vis

etc...
so it makes sense to have it on the first layer, as all the other french layers does.

* Fixing formatting.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-08-30 09:22:12 -04:00
Dessalines
c15ceca8e2
Adding en + sv + programmer layout. (#1030)
- Fixes #1029
2024-08-28 14:53:08 -04:00
Dessalines
97032cbcfe Upping version. 2024-08-27 16:21:22 -04:00
Marvin Baral
5458d36f83
Added üÜ and ßẞ to DEMessagEaseNordic.kt, shifted ßẞ correctly in german keyboards (#1028)
* Added üÜ and ßẞ to DEMessagEaseNordic.kt

kept both at positions from DEMessagEase.kt, moved æÆ to left of eE

Fixes https://github.com/dessalines/thumb-key/issues/1027
Fixes #1027

* changed ß (small) to ẞ (big) in shifted layers of all german keyboards

yes, there is a big version of the letter https://de.wikipedia.org/wiki/Gro%C3%9Fes_%C3%9F

* typo
2024-08-27 15:59:23 -04:00
Dessalines
88c340784e Upping version. 2024-08-26 08:51:27 -04:00
Kidhanis De Jesus
6cb65a5dca
Show emoji key while in Shift mode in Programmer Wide layout (#1018) 2024-08-26 08:41:51 -04:00
renovate[bot]
47dfcdb550 Update dependency androidx.compose:compose-bom to v2024.08.00 2024-08-26 08:41:09 -04:00
renovate[bot]
7e4bf0aa3e Update dependency com.github.jeziellago:compose-markdown to v0.5.3 2024-08-26 08:40:48 -04:00
Dessalines
08f1c8d6f7 Upping version. 2024-08-15 08:50:34 -04:00
Defrobe
dc13f51c78
En/Ru MessagEasy Writer layouts (#1015)
* Add files via upload

* Add files via upload
2024-08-15 07:44:25 -04:00
Dessalines
79f2b9af00 Upping version. 2024-08-09 09:54:24 -04:00
Maarten Sijm
629bb3800b
#702 Rewrite titles of layouts to [languages] [base] [qualifiers] [version] (#1007)
* #702 Rewrite titles of layouts to `[languages] [base] [qualifiers] [version]`

`[languages]` are languages or "alphabets", for example:
- canadian aboriginal syllabic
- english
- english deutsch
- esperanto english deutsch
- japanese hiragana
- japanese kana
- japanese katakana
- ...

`[base]` is the name of the original layout:
- messagease
- qbased
- qwertease
- qwertyfour
- thumb-key
- type-split

`[qualifiers]` are additional features/modifiers of the layout, in alphabetical order:
- +æ
- +åæø
- compose
- double symbols
- emoji
- left-handed
- phonetic
- programming
- samsung
- symbols
- symbols-numbers
- two-hands
- wide (may be the same as "two-hands"?)
- writer

`[version]` is a `v` followed by a number:
- v1
- v2
- v3

* #702 Also rename constants to match layout titles

* #702 Add layout naming guideline to README

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-08-07 18:44:13 -04:00
Defrobe
b8e513eb9c
Create RUThumbKeyWriter.kt (#1005)
* Create RUThumbKeyWriter.kt

RU Writer layout based on RUThumbKeySymbols

* Update RUThumbKeyWriter.kt

* Adding to keyboard layouts.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-08-07 18:31:57 -04:00
Defrobe
e3234daec9
Update ENThumbKeyWriter.kt (#1004)
Added swipe-and-return gesture to capitalize words for EN Writer keyboard
2024-08-07 13:51:33 -04:00
Dessalines
5325033d69 Upping version. 2024-08-06 08:42:09 -04:00
Dessalines
5672c63c82 Fix european keyboard name. 2024-08-06 08:40:52 -04:00
Maarten Sijm
1927ecbe93
Add layout: English MessagEase two-hands symbols (#1002)
* Add ENMessagEaseTwoHandsSymbols keyboard layout

* Add missing `settings =` before KeyboardDefinitionSettings
2024-08-06 08:39:53 -04:00
Eze Posada
ab5452cb50
ESThumbKey.kt exclamation and question mark (#1001)
Changed "?" and "!" for main mode and "¿" and "¡" for shifted mode, as they are less useful.
2024-08-05 09:48:49 -04:00
Dessalines
490e4ab4ff Upping version. 2024-08-02 08:38:58 -04:00
Marek Marecki
6fbfc22994
European Thumb-Key layout (#998)
> 640K ought to be enough for anyone.

This layout ought to be enough for anyone... as long as they are typing
a message in a European language with script based on the Latin
alphabet.

The MAIN GOAL of the layout is to be able to input EVERY LETTER used by
European languages without EVER having to switch to another layout.

LETTER FREQUENCY SOURCE

The Python script uses that data[1] I found on Wikipedia to calculate
the combined letter frequency for a bunch of European languages. I then
used the result to compose a layout that will be suboptimal for EVERY
language, but will NEVER require switching to input a character... as
long as you stay in Europe, that is.

[1] https://en.wikipedia.org/wiki/Letter_frequency

Apart from the base letters found in the original Latin alphabet, plenty
of European languages also use accented versions of the base letters. It
would not be possible to construct a single layout if not for a nifty
trick that @Berengar pointed out - Unicode combining characters. As it
turns out, about 20 of them are enough to cover all of Europe using
Latin alphabet.

There are a few symbols which look like they should be a base letter
plus a combining character--the most obvious ones being Ł and Ø--but for
which I could not figure out a way of synthesising. So I put them as
base letters in the layout.

LAYOUT MAP

Characters in keys are listed in the following order:

    +-------+
    | 1 2 3 |
    | 4 5 6 |
    | 7 8 9 |
    +-------+

ASCII letters are given as themselves and - (hyphen) stands for "empty
position". Other symbols are given as their Unicode codepoints.

Top left key (S):

    U+00AB LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
    U+00A7 SECTION SIGN
    U+00BB RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK

    U+00BF INVERTED QUESTION MARK
    S
    U+003F QUESTION MARK

    U+0304 COMBINING MACRON
    -
    P

Top key (L):

    -
    -
    Ł

    U+00A1 INVERTED EXCLAMATION MARK
    L
    U+0021 EXCLAMATION MARK

    -
    V
    -

Top right key (I):

    U+0303 COMBINING TILDE
    -
    U+0306 COMBINING BREVE

    -
    I
    -

    M
    -
    U+030C COMBINING CARON (HACEK)

Middle left key (T):

    U+0313 COMBINING COMMA ABOVE
    U+2030 PER MILLE SIGN
    U+0326 COMBINING COMMA BELOW

    U+2021 / U+2020 DOUBLE DAGGER / DAGGER
    T
    H

    U+030F COMBINING DOUBLE GRAVE ACCENT
    -
    U+0307 COMBINING DOT ABOVE

Middle right key (A):

    U+030A COMBINING RING ABOVE
    -
    U+0328 COMBINING OGONEK

    U
    A
    U+0308 COMBINING DIAERESIS

    U+0312 COMBINING TURNED COMMA ABOVE (CEDILLA ABOVE)
    -
    U+0327 COMBINING CEDILLA

Bottom left key (N):

    U+00DE / U+00FE LATIN CAPITAL/SMALL LETTER THORN
    U+00B0 DEGREE SIGN
    C

    -
    N
    -

    U+0152 / U+0153 LATIN CAPITAL/SMALL LIGATURE OE
    -
    U+00D0 / U+00F0 LATIN CAPITAL/SMALL LETTER ETH

Bottom key (O):

    U+0110 / U+0111 LATIN CAPITAL/SMALL LETTER D WITH STROKE
    G
    U+00D8 / U+00F8 LATIN CAPITAL/SMALL LETTER O WITH STROKE

    U+00C6 / U+00E6 LATIN CAPITAL/SMALL LETTER AE
    O
    X

    U+0027 APOSTROPHE
    U+002E FULL STOP
    U+002D HYPHEN-MINUS

Bottom right key (E):

    D
    -
    U+0300 COMBINING GRAVE ACCENT

    U+1E9E / U+00DF LATIN CAPITAL/SMALL LETTER SHARP S
    E
    U+0302 COMBINING CIRCUMFLEX ACCENT (HAT)

    U+030B COMBINING DOUBLE ACUTE ACCENT
    -
    U+0301 COMBINING ACUTE ACCENT

PUNCTUATION MARKS

Why did Spanish and French receive "special treatment", with their « and
», ? and ¿, and ! and ¡ being included in the base layout?

Let me restate the main goal of the layout: to be able to input EVERY
LETTER used by European languages without EVER having to switch to
another layout.

Having accomplished that, and still having free space left on some of
the keys, I thought about including important punctuation marks. Other
Thumb-Key layouts go for the most frequently used charactcers like a
comma, a full stop, exclamation mark, etc.

However, all of these "typical" characters are either easily obtainable
by repeated taps on the Space key, or by switching to the numeric
keyboard. (Since both Space-taps and the numeric keyboard stay the same
no matter which layout one uses the muscle memory is retained, which
fits the goal of the European layout.)

After some deliberation, I decided to include the French quotation marks
and Spanish question and exclamation marks. Why? Because they are not
available on the numeric keyboard and users from these countries would
still have to switch to another layout to get them.

FRENCH QUOTATION MARKS

One could ask, why support French quoting style, and not other styles
used throughout Europe? Thumb-Key is a keyboard made for tiny touch
screens of smartphones, and I would expect the most frequent use of it
to be in texting. From my experience, the English quoting style won.

Take the ,,quote'' style used in Poland, for example. When you are
typesetting a book, then by all means - go for the proper style. But in
my experience no one cares when texting, and the easily accessible " is
all that is used.

The French quoting style is unique enough to warrant inclusion, in my
personal, subjective, opinion. Also, « and » are distinct enough to
allow an extra level of depths in quoting without any ambiguity. Do I
expect this to be a frequent use case, though? No, not really.

PUNCTUATION PAIRS

The characters that "come together" reside on left and right sides of a
key, in a single row:

    LEFT                            RIGHT                   COMMENT
    U+0313 COMMA ABOVE              U+0326 COMMA BELOW      Top of T key
    U+0312 CEDILLA ABOVE            U+0327 CEDILLA          Bot of A key
    U+00BF ¿                        U+003F ?                Mid of S key
    U+00A1 ¡                        U+0021 !                Mid of L key

I have also considered applying this rule to the following "pairs" of
characters:

 - U+0300 GRAVE ACCENT and U+0301 ACUTE ACCENT
 - U+030F DOUBLE GRAVE ACCENT and U+030B DOUBLE ACUTE ACCENT
 - U+030C CARON (HACEK) and U+0302 CIRCUMFLEX ACCENT

However, if I wanted to do this I would not be able to always keep the
accents on the same key as the letter they modify -- and I considered
keeping accents near their letters to be more important than keeping the
arbitrary "pairs" together.

The layout is unambiguous enough as it is right now, so I do not expect
much confusion once users get accustomed to it.
2024-08-02 08:37:14 -04:00
Dessalines
46735c67ec
Adding simplified slovak layout, slovak thumbkey v3. (#996)
* Adding simplified slovak layout, slovak thumbkey v3.

- Fixes #995

* Forgot to add file.
2024-07-31 11:27:50 -04:00
Dessalines
10b77b57de Upping version. 2024-07-26 16:43:33 -04:00
Dessalines
b5e5ec4f35
Adding DE + EN + AE keyboard. (#991)
- Fixes #987
2024-07-26 16:09:39 -04:00
Dessalines
d0aade6cd9
Adding screen transitions. (#990)
- Fixes #989
2024-07-26 16:02:38 -04:00
Dessalines
bc9199e3d2 Upping version. 2024-07-20 13:41:52 -04:00
Tirbod
58935babab
Farsi/Persian for Samsung devices (#984)
* Changed Farsi Spacebar Multi-taps

* Update FAThumbKey.kt

* Update FarsiNumeric.kt

* Create FAThumbKeySamsung.kt

* Create FarsiNumericSamsung.kt

* Update KeyboardLayout.kt

* Update KeyboardLayout.kt

* Update KeyboardLayout.kt

* Update KeyboardLayout.kt
2024-07-20 13:40:38 -04:00
K0baU
92af4188a9
Merge hiragana and katakana (#985)
* Add files via upload

* Added JAThumbkeyKana

* Fix indent

* Rename keyboards

* import KB_JA_THUMBKEY_KANA
2024-07-20 09:09:14 -04:00
Tirbod
e6a53693c0
Farsi/Persian Spacebar Multi-taps (#983)
* Changed Farsi Spacebar Multi-taps

* Update FAThumbKey.kt

* Update FarsiNumeric.kt
2024-07-19 08:23:50 -04:00
renovate[bot]
900b2cfabb
Update dependency com.github.jeziellago:compose-markdown to v0.5.2 (#982)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-16 08:34:32 -04:00
Dessalines
6ef2c14f4b Upping version. 2024-07-16 08:26:39 -04:00
renovate[bot]
8170d26512
Update dependency com.github.jeziellago:compose-markdown to v0.5.1 (#978)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-12 21:09:02 -04:00
locrianz
815dd3c428
Fixed swipetype on EN Writer keyboard (#977)
* Fixed swipetype on EN Writer keyboard

I think I'm done embarrassing myself.

* Fixed color variants for closing quote marks
2024-07-12 08:10:57 -04:00
locrianz
c43ed91140
Fixed EN Writer keyboard (#975)
Fixed discrepancies between uppercase and lowercase keyboards
2024-07-11 20:24:06 -04:00
Dessalines
4ff8f61920 Upping version. 2024-07-11 09:25:34 -04:00
locrianz
c18230ed92
Added ENThumbKeyWriter layout (#970)
* Added ENThumbKeyWriter layout

Layout includes smart quotes and apostrophes, ellipsis, and m- and n-dash.

* Adding EN thumbkey writer to layouts.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2024-07-11 09:23:31 -04:00
Paul Kramer
e520f08bf1
Added swipe-and-return gesture to capitalize words (#964) (#966)
* Added swipe-and-return gesture to capitalize words

Swipe-and-return on capitalization key will
* capitalize the first letter of the current word if not already
  capitalized, or
* capitalize every letter of the current word otherwise.

Swipe-and-return on decapitalization key will decapitalize the whole
word.

* Fixed linting errors

---------

Co-authored-by: Paul Kramer <pk@cantamen.de>
2024-07-11 09:09:08 -04:00
Dessalines
89e12a7e26
Adding dependenciesInfo for f-droid builds (#965) 2024-07-08 10:25:43 -04:00
Dessalines
9e4abd73ce Upping version. 2024-07-07 19:48:46 -04:00
Matthew Sirman
eb252a5d78
Added ghost key functionality. (#961)
* Added ghost key functionality. This lets you swipe symbol keys which are not visible, but exist in the corresponding location in the numerical view.

* Added comments and descriptions, simplified key composition logic, ran linter
2024-07-07 19:47:25 -04:00
ff00ff
09dec63ce8
Add composed qwertyfour layout (#962)
* Add composed qwertyfour layout
Add a version of the qwertyfour layout with composing keys.

fix formatting

* Update KeyboardLayout.kt

Move listing position
2024-07-06 16:30:58 -04:00
Dessalines
bde110de3a Upping version. 2024-07-02 05:41:59 -04:00
George Melikov
96db686cc5
MessageEase layouts: use numerics from MessageEase too (#960)
Default numerics are too different from messagease layout,
in messagease app numerics for English and other layouts are usually the same,
so just reuse KB_EN_MESSAGEASE_NUMERIC.

Signed-off-by: George Melikov <mail@gmelikov.ru>
2024-07-02 05:28:34 -04:00
George Melikov
abda9c954b
RUMessagEaseSymbols: use messagease numerics (#959)
Default numerics are too different from messagease layout,
in messagease app numerics for English and Russian layout
are 100% same, so just reuse KB_EN_MESSAGEASE_NUMERIC for that.

Signed-off-by: George Melikov <mail@gmelikov.ru>
2024-07-02 05:13:37 -04:00
Dessalines
bad99dc3cb Upping version. 2024-06-29 19:14:17 -04:00
Dessalines
87585b23aa
Revert "Hebrew: added shifted layer using final letters (#944)" (#958)
This reverts commit 227a804174.
2024-06-29 18:52:42 -04:00
renovate[bot]
9143bc3bb4
Update plugin org.jmailen.kotlinter to v4.4.0 (#956)
* Update plugin org.jmailen.kotlinter to v4.4.0

* Fixing formatting.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-06-28 15:49:53 -04:00
maya
64348ab22b
Update layout english deutsch thumb-key v2 to fix #868 (#955) 2024-06-19 14:31:15 -04:00
Dessalines
4c8d9676ee Upping version. 2024-06-14 08:17:32 -04:00
renovate[bot]
8347114420
Update dependency androidx.compose:compose-bom to v2024.06.00 (#949)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-13 10:52:04 -04:00
renovate[bot]
64071c335a
Update dependency androidx.compose.material:material-icons-extended-desktop to v1.6.8 (#948)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-13 10:51:55 -04:00
Shayan
178d65c083
Per-app language preference (#947) 2024-06-13 10:51:40 -04:00
Dessalines
36c436d462 Upping version. 2024-06-10 23:14:29 -04:00
Yehoshua Pesach Wallach
227a804174
Hebrew: added shifted layer using final letters (#944) 2024-06-10 17:49:45 -04:00
sphh
e4f908cef5
DEThumbKey keyboard: Fixes exclamation mark. (#941)
The exclamation mark could not be selected.
2024-06-05 07:45:23 -04:00
Dessalines
7969f64b2c Upping version. 2024-06-04 08:13:49 -04:00
Shayan
98bb92a196
Force LTR KeyboardScreen (#940) 2024-06-03 18:14:41 -04:00
Ingegneus
16e5e9d81b
add DEThumbkeySymbols (#939)
* added DEThumbkeySymbols.kt

* added sch and ch

* fixed formatting

* fixed formatting

* fixed formatting

* fixed conflict

* fixed another naming conflict
2024-06-03 18:13:31 -04:00
DvCCC66
5fb87caf46
Add letter K to "Italiano type-split" keyboard (#938) 2024-06-03 18:13:02 -04:00
Dessalines
4089c2e4b1 Upping version. 2024-05-31 23:00:09 -04:00
Dessalines
8dffe01fbe
Adding a few more compose-boms. (#934) 2024-05-31 22:59:12 -04:00
Ondřej Chwiedziuk
0a0bb99ed9
Fix errors in CZProgrammerMessagEase (#932)
* Fix crash when ˇtyped

* Fix missing arrow down

* Fix missing }

* Trailing whitespace

* One more space trailing
2024-05-30 14:15:59 -04:00
renovate[bot]
36c43efd66
Update dependency androidx.appcompat:appcompat to v1.7.0 (#931)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-29 16:13:16 -04:00
renovate[bot]
b2182009de
Update dependency androidx.lifecycle:lifecycle-runtime-compose to v2.8.1 (#930)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-29 16:13:07 -04:00
Dessalines
161cd2a5f6 Forgot another change. 2024-05-28 12:08:29 -04:00
Dessalines
01373ec183 Removing unused strings. 2024-05-28 12:07:03 -04:00
Dessalines
0c982b3d2b Upping version. 2024-05-28 11:59:58 -04:00
Giuliano Lauro
6249ea8bd3
Tweak circular drag and drag-and-return gestures (fixes #926) (#928)
* Tweak circular drag and drag-and-return gestures (fixes #926)

This simplifies but also makes the circular drag detection algorithm
easier to rationalize
  - As long as all positions in the gesture are more circular than an
    ellipse with aspect ratio 2:1 (major:minor axis), the gesture passes

Either of these gestures' final coordinate now has a larger tolerance,
which hopefully fixes #926

* Make circular drag more forgiving

This changes ellipse aspect ratio from 2:1 to 3:1
2024-05-28 11:58:09 -04:00
Dessalines
5d7bab02a5
Removing some unused strings. (#929) 2024-05-27 17:55:41 -04:00
Dessalines
bbe00e0711 Upping version. 2024-05-22 23:36:19 -04:00
Dessalines
bbf5666b76
Enable strong skipping. (#925) 2024-05-22 23:04:08 -04:00
Dessalines
1c7c47460e
Upgrading to 2.0.0 compiler. (#922) 2024-05-22 13:38:20 -04:00
Dessalines
042bb7f794 Upping version. 2024-05-22 12:11:51 -04:00
Giuliano Lauro
49cafe3f85
Make cursor movement detection index-based (fixes #881) (#917)
* Make cursor movement detection index-based (fixes #881)

This adds a new function to the IMEService class which makes it ignore
the next cursor movement. This function is called from certain parts in
`performKeyAction` which would interfere with the cursor movement detection algorithm

* Reformat code
2024-05-22 10:43:06 -04:00
Maarten Sijm
2a5f70f878
Fix #304 (take two): In Utils.autoCapitalizeCheck, use input type of current editor (#909)
I checked the documentation[1] again, and it says about `reqModes`:
> [...] you can simply pass the current `TextBoxAttribute.contentType`
>  value directly in to here.

I assume that `ime.currentInputEditorInfo.inputType` is what we're
looking for, in that case 😄

To make sure that this can be tested in the TestOutTextField,
I set it to auto-capitalize sentences.

[1]: https://developer.android.com/reference/android/view/inputmethod/InputConnection#getCursorCapsMode(int)
2024-05-21 14:09:58 -04:00
Dessalines
4429114ca6
Fixing donation line. (#906) 2024-05-18 07:33:38 -04:00
Will
96cf7eabe1
Add QBased a qwerty based keyboard (#905)
* Add QBased A Keyboard Layout I made based on the standard qwerty layout

* Add QBased A Keyboard Layout I made based on the standard qwerty layout

* Corrected capitalization in titles.

* Formatting fixes.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-05-18 07:33:03 -04:00
Dessalines
28b048bdfc Upping version. 2024-05-17 12:48:06 -04:00
Giuliano Lauro
b4a9246eba
Tweak circular drag detection algorithm (fixes #894) (#904)
This makes the algorithm for calculating circular drag less strict by:
- Making the direction calculation more straightforward
- Which in turn adds a larger margin for gesture imperfections
2024-05-17 12:46:26 -04:00
renovate[bot]
f2bc7eb0b7
Update dependency composeOptions to v1.5.14 (#896)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 15:42:20 -04:00
renovate[bot]
d5abc2b382
Update dependency com.github.jeziellago:compose-markdown to v0.5.0 (#900)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 15:39:52 -04:00
sphh
71cd35c912
Improves symbols in main DEThumbKey keyboard. (#892)
* Mutes colour of colon ':' in DEThumbKey.kt.

See also
2102924bad

* Mutes colour of quotation mark '"' in DEThumbKey.kt.

See also
f8febc2291

* Adds colon ':' to capital character in DEThumbKey.kt.

See also
2102924bad

* Adds quotation mark '"' to capital character in DEThumbKey.kt.

See also
f8febc2291

* Adds exclamation mark '!' to DEThumbKey.kt.

* Adds question mark '?' to DEThumbKey.kt.
2024-05-15 07:51:42 -04:00
Dessalines
18f42ab9b0 Upping version. 2024-05-14 09:51:59 -04:00
Maarten Sijm
7fe8190c24
Fix #304: Improve Utils.autoCapitalizeCheck (#890)
Instead of manually reading the `getTextBeforeCursor`,
use `IMEService.currentInputConnection.getCursorCapsMode`
to detect whether auto-capitalization should happen.
This fixes #304, where terminal emulator apps like Termux, JuiceSSH,
KDE Connect, etc., which provide an empty input connection to Thumb-Key,
would always be auto-capitalized.
2024-05-14 09:49:39 -04:00
randomguy3
2bef5989da
Wide version of ThumbKey (#889)
This is a layout based on the philosophy of the default ThumbKey layout,
but designed for more efficient use with two hands.

- Vowels on the right, common consonants on the left.
- The most common letters are presses (not swipes), and are sorted so
  that the most common letters are at the sides and lower down.
- Secondary letters are often chosen to relate to the primary letter on
  the key (eg: "m" is paired with "n").
- originally "f" and "k" were the other way around, but this way felt
  more natural - and "k" is often paired with consonants, while "f" is
  usually next to a vowel (or itself).
- Having more than four swipes on a key was avoided as much as possible,
  because 8-way swipes are harder to get the swipe direction correct on.
- In fact, the letter mode minimises swipes altogether. This leaves
  plenty of space for, eg, putting various "A" diacritics on the "A"
  key in other keyboards based on this one.
- The central key on the letter board has a selection of symbols - I
  picked the ones I thought were most likely to be used frequently in
  runs of words (note that I replaced * with ", compared to the original
  ThumbKey layout).
- The numeric keyboard prioritises putting the numbers in a classic
  phone layout over maximising access for two hands. Similarly, * and #
  are swipes towards where those symbols would be on a phone keypad.
- It also aims to lay similar symbols out next to each other, rather
  than sorting by frequency - this is because this mode is used much
  less frequently, so it's harder to learn where symbols are, and so I
  prioritised making searching for them easier. For example, all the
  "pause" puncutation (comma, full stop, semi-colon, colon, exclamation,
  question) are on the 5 key or the bottom of the 2 key, and superscript
  marks like quotation marks are on the 6 key. Key 7 has "mathematical
  symbols". Key 4 has currency. All the types of brackets are likewise
  grouped together (opening on the left and closing on the right).
- The central key on the numeric board has the same swipes as the
  central key on the letter board to leverage the habits learnt in the
  letter mode.
- If symbols are mirrors of each other, I tried to mirror them in the
  layout.

Co-authored-by: Alex Merry <alex.merry@kde.org>
2024-05-13 22:22:51 -04:00
Dessalines
3693d0ed91 Upping version. 2024-05-09 10:00:16 -04:00
Vitalii
aa1f110f1f
Revert compose in DEMessagEaseSymbols layout (#888) 2024-05-09 09:52:31 -04:00
sphh
06bf64cce7
German thumbkey symbols : and " (Closes #882 #883) (#886)
* Adds colon ':' to DEThumbKey.kt. (Closes #882)

* Adds quotation mark '"' to DEThumbKey.kt. (Closes #883)
2024-05-08 07:56:57 -04:00
Shayan
c343492696
Add RLM character to FAThumbKey (#880) 2024-05-06 12:33:01 -04:00