rkkr / simple-keyboard

Apache License 2.0
1.14k stars 225 forks source link

Define the sensitivity for the spacebar swipe #124

Open Wilker-uwu opened 5 years ago

Wilker-uwu commented 5 years ago

sometimes i want to move the cursor through more text without moving my finger as much.

a sensitivity setting for the spacebar swipe, and maybe an option for adding acceleration would be useful for this :3

if this is to be added, i think that a gear icon button right besides the setting to enable it in the first place should help presenting the option.

what do you think?

rkkr commented 5 years ago

Setting- no, acceleration- yes. This is also valid the other way where it's hard to move by one character while walking, etc.

rkkr commented 5 years ago

I've hacked something up and there is a logic bug. If you swipe left delete very fast (which you usually do to trigger the swipe action), then the pointer moves very fast and marks two lines. Then you think oh god it marked too much, and then swipe right, which is a much slower swipe, so it marks only half the line and you run out of the screen. Then your only action is to release the delete key and watch all your text be deleted :)

Space swipe might not be that bad as at least it's not destructive.

Wilker-uwu commented 5 years ago

(i forgot to comment, i'm sorry ;-;)

my biggest issue with acceleration would be having to deal with acceleration... i'm sorry, i mean having to deal with the speeds to do stuff. i suggested both sensitivity and acceleration because some people may want to use the acceleration feature, while others would just like to set the sensitivity (or both).

Sogolumbo commented 2 years ago

I think that running out of space could be solved by aborting the deletion if the finger moves back to the starting position. Also you could slowly move left and then have more space to move right quickly. But that will be pretty unintuitive.