Two finger input methods (PyGTK demos)

Kristian 'kriss' Mueller kriss at mput.de
Sat Sep 1 22:40:45 CEST 2007


Lars Hallberg wrote:

> This is a new one (Layout is 'numlock' one):
>    http://www.micropp.se/openmoko/res/key2key.py

Nice idea. Had to change the code a bit, as the UI of the current
version fires up the keyboard if a text entry has the focus - see patch.

For me it was hard to choose the right finger to tapping, so that a
second one could be used for actual selection. 

It's better to just move one finger and release it at the needed key.
Anyway I like the idea. 
I guess one could learn to write short texts quite fast with one hand
that way.


Greetings from Berlin
Kristian

---
--- key2key.py.orig     2007-08-30 19:22:49.000000000 +0200
+++ key2key.py  2007-09-01 22:36:07.000000000 +0200
@@ -214,7 +214,7 @@
         # make ui layout
         self.txt = gtk.TextBuffer()
        self.txtv = gtk.TextView(self.txt)
-
+       self.txtv.set_sensitive(0)
 
         #self.entry.connect('changed', self.entry_filt)
         self.vbox = gtk.VBox()

-- 
/* Web:  http://www.mput.de  | Jabber: kristian at mput.de        *
 * Blog: http://mput.de/blog | MSN:    mueller.kristian at vdi.de *
 * Wiki: http://mput.de/wiki | ICQ:    93248497                *
 * Tel:  0170/6692447        | GPG-ID: 164A9A11                */





More information about the community mailing list