6
Haptic question (lemmy.world)
submitted 1 week ago by Toldry@lemmy.world to c/thumbkey@lemmy.ml

I'm thinking of implementing a new feature for Thumb-Key: richer haptic feedback that will make it easier for users to blind-type.

While reviewing the current places where Thumb-Key already performs haptic feedback, I noticed something strange.

When doing a long-press gesture, there are two moments of haptic feedback. First is when the finger initially touches the keyboard key, and second when enough time has passed for the press gestured to be registered as a long press. The second haptic feedback is noticeably stronger than the first.

However, as far as I can tell, both events call the exact same function with the same parameter for both events:

view.performHapticFeedback(HapticFeedbackConstants.KEYBOARD_TAP)

So how come the second feedback is stronger than the first?


Here is the code for initial press.

And here is the code for the long press.

you are viewing a single comment's thread
view the rest of the comments
[-] dessalines@lemmy.ml 2 points 5 days ago

Nice, that's easy enough. I'll get to your PR soon.

this post was submitted on 03 Feb 2026
6 points (100.0% liked)

Thumb-Key

471 readers
6 users here now

About

Thumb-Key is a privacy-conscious smart keyboard, made specifically for your thumbs.

It features a 3x3 grid layout, as many older phones had, and uses swipes for the less common letters. Initial testing shows that you can reach ~25 words per minute after a day of use.

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 appromixate 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) MessageEase Keyboard, which is its main inspiration.

founded 2 years ago
MODERATORS