Long ago when I thought I was going to be writing Operating Systems in Assembly Language, I had a raw keyboard driver interpreting the key codes from various keyboards.
TERRIBLE to debug (though not as bad as debugging a display driver).
Is that what all this is like?
Ugh...
Do you use lookup tables for all the various keyboard types and operating systems?
It seems like you almost need a matrix of all the supported systems vs. all the possible keyboards, with a table for each one...it could just be a file in the image directory and get loaded at startup.
Then, if someone has some weird keyboard, they could just edit the file...
But then, I probably have no idea what I'm talking about!!!
Rob
On Tue, Mar 3, 2009 at 10:24 PM, Michael Rueger <m.rueger@acm.org> wrote:
Mariano Martinez Peck wrote:What kind of keyboard are you using?
> It doesn't work for me. I am using Ubuntu 8.04 with latin american
> distribution. I am trying yo type "�", "�", and so on, but with no luck.
>
> The problem is: I open a workspace. I type "�" and works fine. I try to
> type "�" again and I have this error: "'subscript is out of bounds: -60'"
>
> It is very strange because only the first time work.
I had to do an incredibly ugly hack because of the way the Linux VM
deals with composing key sequences, so it could be that I messed up the
normal keyboard input. Sigh...
Dell 101-key PC with Latin American Layout.
cheers
�
Michael
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project