Hacker News new | ask | show | jobs
by Gring 5158 days ago
Great stuff!

How difficult would it be to have the sliding gestures on the keyboard itself? Keeping my fingers at the same place would make things even faster...

Also, have you tried experimenting with acceleration curves for moving the cursor - i.e. moving the finger slow would yield a 1:1 cursor movement, while moving the finger faster would move the cursor something more like 8 times faster than the finger. With the right acceleration curve, the two-finger gesture could be dropped, and you could be even faster.

I'd love to use this in the editor of my choice. Could you make this open source?

1 comments

thanks! I tried implementing an area to slide over the keyboard, but the touch events of the keys were always getting priority. I'll try out some different methods and see if I can get it to work in a way that will get approved by Apple.

I like the idea of the acceleration controlling cursor speed, I'll try it out and see how it feels.

After I get it to a place that feels good, I'll either release it as a component that can be dropped in, or open source it.

It takes a few tricks, but it is possible to attach a gesture recognizer to the keyboard window in an App Store-compatible fashion: https://github.com/rpetrich/SelectWithSwipes