Mail Archives: djgpp/1998/12/21/05:26:37
On Thu, 17 Dec 1998 23:09:14 -0000, "Arthur" <arfa AT clara DOT net> wrote:
>> Allegro keyboard handling routines are great for games and such, but
>> have the disadvantage that you lose the installed DOS keyboard
>> mapping, and this is what I want to keep.
>
>If you don't want to use Allegro's keyboard handler, don't install it. Or
>you could always rewrite the GUI routines :-)
That was my first try. Of course, I knew ALLEGRO GUI need the keyboard
driver, so I followed the documentation suggestions about not
installing it and providing the GUI with replacements for "readkey"
and "keypressed", but it didn't work.
My guess is that perhaps the GUI is using some other part of the
keyboard driver somewhere else...
>I think the latest WIP of Allegro has improved foreign keyboard support, but
>since I use only the English setting I can't really say how much it is
I do use the latest WIP, and yes, it has very good foreign language
support, but I don't want to depend on it. I mean, I don't want to
make the user configure the keyboard mapping when he's supposed to
have done it already for DOS.
>improved. If you are worried about a country not having a correct mapping
>table, include a copy of keyconf.exe with your program so that people can
>create their own.
In some cases this is asking for too much. The user may be incredibly
lazy :)
Regards. Nacho.
- Raw text -