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

Re: [MiNT] New AES keyboard messages



Evan K. Langlois píše v Pá 01. 04. 2005 v 16:25 -0600:
> > > My idea is to return rather scancodes then ascii codes. Not raw 
> > > scancodes - it should be inteligent enough to send the same code for 
> > > (for example) Z key, no matter what keyboard (German, UK, US) is used.
> > 
> > This doesn't sound like a good idea to me.  You'll want to stick with
> > pure scancodes and to provide a function for conversion from scancode to
> > ASCII code...
> 
> The AES normally returns both.

I haven't followed the proposed extension in detail so I don't know if
it was supposed to return ASCII value as well. My main point was that
there is nothing like "intelligent scancodes" that would take the
keyboard layout into account.

Petr