marnanel: (Default)
Monument ([personal profile] marnanel) wrote2010-11-24 08:41 am

Virtual keyboards, and dasher

Funnily enough, someone was asking about virtual keyboards on gtk-list this morning.

Last week at the MeeGo Conference several people were talking about virtual keyboards, and the idea came up of doing predictive text, either by making more likely letters physically larger, or merely by increasing their sensitivity.

When I came home, I wrote a JavaScript mock-up based on a third-order Markov chain. It's quite fun to play with, especially on a touchscreen.

When I showed this to a few people at Collabora and elsewhere, Rob McQueen suggested avoiding reinventing the wheel by using the rather wonderful Dasher system as a back end. So, after a longish hacking session, here it is:



State of the keyboard after typing "FLO".

Click here to see a video of the keyboard in action


The front end shown here is just a custom GTK widget I threw together; in real life it would use an existing input method. I've exaggerated the differences between letter sizes for demonstration. (As I mentioned above, the physical letter sizes might not change at all.)

There is a wiki page about all this. Let me know if you'd be interested in helping work on this; I'll be releasing the code shortly, and adding a link on the wiki to it. (Odd thought: I wonder how useful another demonstration piece of JavaScript would be, pulling data from Dasher running as a CGI. Let me know.)

There is also an existing roughly similar system for Android, and, I hear, for the iPhone.

Update: An AJAX version you can play with.
holzman_tweed: (Default)

[personal profile] holzman_tweed 2010-11-24 02:30 pm (UTC)(link)
Is touch-typing truly so lost a skill that a keyboard with keys that shifted in size wouldn't actually make typos more likely? (As I write this, I'm not looking at the keyboard, so the bigger size making the key easier to see is moot as well.)

(Anonymous) 2010-11-24 08:42 pm (UTC)(link)
Do you expect anyone to be touch-typing on a virtual keyboard, on what's probably a relatively small touch-screen device?

OTgrfxPecFofNnBaHnW

(Anonymous) 2011-09-28 09:27 pm (UTC)(link)
i3HGEn Hello! How do you feel about young composers?!...