A privacy-conscious Android keyboard made for your thumbs
A privacy-conscious keyboard made for your thumbs
Report Bug
·
Request Feature
·
Releases
Thumb-Key is a privacy-conscious smart keyboard, made specifically for your thumbs.
It features a 3x3 grid layout, and uses swipes for the less common letters. Its easy to learn, and designed for fast typing speeds.
Instead of relying on profit-driven, privacy-offending word and sentence prediction for accuracy, as do most popular phone keyboards like Gboard and Swiftkey, Thumb-Key uses large keys with predictable positions, to prevent your eyes from hunting and pecking for letters.
As the key positions get ingrained into your muscle memory, eventually you'll be able to approximate the fast speeds of touch-typing, your eyes never having to leave the text edit area.
This project is a follow-up to the now unmaintained (and closed-source) MessagEase Keyboard, which is its main inspiration.
A to capitalize. (If you changed the layout, the button next to #)
"Show on-screen keyboard" option stuck on
https://github.com/dessalines/thumb-key/issues/2120
Labels: bug
Toki Pona Letters
https://github.com/dessalines/thumb-key/issues/1966
Labels: None
Caps lock doesn't work on multiple characters
https://github.com/dessalines/thumb-key/issues/1930
Labels: bug
NormalizeLastKey unavailable through Modify keys
https://github.com/dessalines/thumb-key/issues/1889
Labels: None
Modifier inputs using YAML
https://github.com/dessalines/thumb-key/issues/1844
Labels: None
Ctrl/Alt on Programming layouts
https://github.com/dessalines/thumb-key/issues/1843
Labels: None
I'd be happy to accept additions to add more languages, and layouts. To start:
[languages] [base] [qualifiers]? [version]? (see also #702)../gradlew formatKotlin to format the code correctly.To add a custom theme:
Theme.kt file.Color.kt like the others.ThemeColor enum in Types.ktstrings.xml for your theme name.colorPairs in Theme.ktIf you want to tweak your theme more precisely, these are the colours that are used. Please keep the theme in line with Material Design Guidelines where feasibe.
| Coloured element | Material colour used |
|---|---|
| Normal key background | surface |
| Special key (space, emoji etc) background | surfaceVariant |
| Main key colour | primary |
| Key animated after press | tertiary |
| Swipe letter colour | secondary |
| Swipe symbol colour | secondary, but at 50% alpha |
| Keypress flash colour on tap/hold | inversePrimary |
| Keypress flash colour on release | tertiaryContainer |
| Key outline | outline |
| Backdrop | background |
Layouts with a compose key (♫) resolve typed sequences into single characters, using the table
in app/src/main/java/com/dessalines/thumbkey/textprocessors/ComposeComboTable.kt. Adding a
character is one line of data, which makes it practical to cover a specialised field —
mathematics, linguistics, chemistry, law — without touching any keyboard code.
Adding a set for your field:
co looks like an obvious choice for ©, but X11 uses it for ǒ, so
copying it would break a Czech or Chinese-pinyin user's muscle memory. This is why the
letter-first spellings of © and ® are CO and RO.ab is a
sequence then abc can never be reached. This is why .. gives … and there is no ..., and
why taking -- for the em dash rules out the X11 spellings --- and --..// Chemistry
put("o2", "₂")
put("<>", "⇌") // only if <> is not already taken — it is, by ⋄
Both letter orders are worth adding when X11 defines both, since which one feels natural varies by person. Several characters already have two or three spellings for this reason.
Sequences are shared by every layout with a compose key, so a set added for one field becomes available everywhere. Prefer extending the shared table over creating a parallel one.