[g-a-devel] Re: Summer of Code: Simple On-screen Keyboard



Just writing a small update on my progress:
   I'm using .svg files as the layout for the keyboard.  It currently
only recognises rectangles, but plan to implement paths next as that
allows all manner of wonderful shapes and layouts.

   I  have a dictionary linking each character with a key on the
keyboard.  Currently this is hardcoded but will be in a separate file.

Up until now i've been wrapping round fakekey, a c library for input
into other x applications.  However this tends to slip up when
handling unicode characters.  I would quite like to reimplement all
this in a cleaner fashion, I was wondering if anyone with any
experience with Python and Unicode could give me any advice.

thanks

On 26/05/06, Chris Jones <cej105 soton ac uk> wrote:
I'm writing a on-screen keyboard for Ubuntu as per the spec here:
https://wiki.ubuntu.com/Accessibility/Specs/SOK

I'm writing it in python, using pygtk and drawing the keys of the
keyboard using cairo.

Currently I've wrapped up fakekey with SWIG and am using that to input
text into the currently focused window.  Unfortunately, the keyboard
window focuses when I click on the drawingarea widget that draws the
keys.  Making the thing fairly useless at this point.

If anyone who is familiar with the GOK code reads this, could they
detail how they got round this problem.

thanks
--
Chris Jones

jabber - skating tortoise gmail com
msn - skating_tortoise dsl pipex com



--
Chris Jones

jabber - skating tortoise gmail com
msn - skating_tortoise dsl pipex com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]