www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/21/05:26:37

From: igp AT vlc DOT servicom DOT es (Ignacio García Pérez)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ALLEGRO keyboard question
Date: Mon, 21 Dec 1998 09:49:58 GMT
Organization: SERVICOM
Lines: 33
Message-ID: <367ab96e.28397024@crispin>
References: <199812172310 DOT XAA28533 AT remus DOT clara DOT net>
NNTP-Posting-Host: be-36-vale-x1.red.retevision.es
Mime-Version: 1.0
X-Newsreader: Forte Agent 1.5/32.452
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019