Re: [AD] Bug in exflame.c |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Sun, 4 Jul 1999, Shawn Hargreaves wrote:
> The input functions deal with numeric values, range 0-2^32-1, which are the
> same in any encoding. The difference between ASCII, UTF-8, Unicode, etc, is
> just what happens when you want to store that number in memory, which you
> never need to do (other than as an int, which is different to putting it in
> a string).
That still doesn't answer my question. What format is the user expecting
ureadkey input to be in? Is it supposed to be the same format as
U_CURRENT?
> > What I need a comprehensive answer to is, what should cause keypressed to
> > be true and what should cause ureadkey to return?
>
> The same as getch() in DOS. ie. anything that has meaning in itself, as an
> actual keypress rather than a modifier which will only affect the meaning of
> subsequent keypresses.
So, alt should not cause keypressed() to return true? But under this
definition, neither would alt-T. If that is true then _do_menu() would
not be able to intrepret keyboard shortcuts.
And, although the dos version does not get alt-tab, I would think that the
Windows version does. I don't recall there being any special code in its
keyboard driver to handle that.
I never imagined how tedious and picky implementing a keyboard driver
would be ^_^
> --
> Shawn Hargreaves - shawn@xxxxxxxxxx - http://www.talula.demon.co.uk/
> "A binary is barely software: it's more like hardware on a floppy disk."
--
The Phoenix - President of The Artistic Intuition Company
Caelius * Zen-X * Mirror Reflex * Runica * X-Domain * Infinite Realms
http://www.io.com/~fenix