Julow / Unexpected-Keyboard

A lightweight virtual keyboard for developers.
GNU General Public License v3.0
1.54k stars 193 forks source link

[feature] swipe delete #46

Open quantenzitrone opened 2 years ago

quantenzitrone commented 2 years ago

https://user-images.githubusercontent.com/74491719/151580765-c79ab179-e3c0-4618-9c0c-6414d38b7ed4.mp4

like in this video of OpenBoard.

Julow commented 2 years ago

This would be an awesome feature. (similar suggestion: https://github.com/Julow/Unexpected-Keyboard/issues/7)

However, I don't want to copy this idea as it is because it wouldn't be the best fit for this keyboard. There's already a "precise repeat" feature that is not working well and I planned to improve it at some point.

Julow commented 2 years ago

The "precise repeat" feature will be improved during the next release but maybe not enough to close this issue yet. (c85e9a9)

quantenzitrone commented 2 years ago

i think this issue is resolved enough with "precise repeat" and Ctrl+Backspace (delete word)

Julow commented 1 year ago

You might be interested in https://github.com/Julow/Unexpected-Keyboard/issues/7#issuecomment-1399625673

moya2162 commented 1 year ago

I would like to add my opinion that this feature would be nice to have as well.

Swipe to move cursor which was recently added is a huge welcome. Shift + swipe to highlight a word is nice as well when trying to specifically delete a word somewhere in a sentence.

I would like to add that for speed and ergonomics, it would be nice to have swipe on delete to quickly delete a mistake. Its faster than having to hit shift, highlight, hit delete which is 3 gestures vs 1. My humble 2 cents.

Julow commented 1 year ago

This seems nice indeed.

mexicancartel commented 1 year ago

Came here to request this feature. I keeps switching back to simple keyboard for regular use because of this.

Sx1Fl0NdqlkM6N4s2pswXKUI0k9FKTaOckLbNXu commented 10 months ago

I don't know if keys like "select all" are somehow fundamentally different than "key = key combination", but having access to those would mostly solve the issue:

ctrl+backspace, ctrl+delete = delete word ctrl+left, ctrl+right = move by word ctrl+shift+left, ctrl+shift+right = select word shift+left, shift+right = select character

unless we can already send key combinations?

ChristianKurz commented 8 months ago

I'm also missing this feature from simple keyboard. I don't think key combinations are a good replacement - swipe deletion with selecfion is fast and very precise.

The PR which implemented this for reference: https://github.com/rkkr/simple-keyboard/pull/99