Re: [AD] key[] array with non-qwerty keyboards

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sat, 2008-02-16 at 21:13 +0000, Chris Jones wrote:
> 
> Hmm, so this effectively means that you can't reliably pair readkey() with
> key[] in allegro to determine when a key is released. If this is a known
> feature and is not planned to be addressed in Allegro 4, then I think it
> should at least be mentioned in the key[] section of the documentation.

Well, the "scancode" part of readkey() is the same as in key[], so as
far as that, you can pair it. Just the mapping between scancodes and
actual unicode symbols has no guarantees. KEY_Y may produce "y" and "Y"
symbols on some keyboards, but "z" and "Z" on others.

-- 
Elias Pschernig <elias@xxxxxxxxxx>





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/