Mail Archives: djgpp/2001/03/17/04:16:56
From: | "Stuart Gibson" <stuartgibson AT email DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: [OT] fast, SAFE keyboard handler
|
Date: | Sat, 17 Mar 2001 09:01:00 -0000
|
Organization: | BT Internet
|
Lines: | 71
|
Message-ID: | <98v9b1$f7g$1@plutonium.btinternet.com>
|
References: | <3ab04ed5 AT leia DOT ktsnet DOT com>
|
NNTP-Posting-Host: | host213-122-208-124.btinternet.com
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Newsreader: | Microsoft Outlook Express 5.50.4522.1200
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Begin3
Title: libkb -- advanced and portable low-level keyboard library
Version: 1.01
Entered-date: 03JUN98
Description: libkb is a free, advanced and portable low-level keyboard
library for Linux and MSDOS. Allows access to ALL keys and
ALL key combinations. Also handles Pause key and
Control-Break.
Ideal for games and all applications that want
total control over the keyboard.
Practical kbhit()/getkey() like interface for textual input.
Intelligent signal handling and emergency-exit feature
to achieve a maximum of robustness.
Supports virtual terminal switching under Linux.
Easy to use. Written entirely in C without assembler code.
Comes with full source, example programs and documentation.
Works with Linux gcc/Borland C/Watcom C/djgpp.
Keywords: keyboard, console, terminal, library, game programming
Author: markus DOT oberhumer AT jk DOT uni-linz DOT ac DOT at (Markus F.X.J. Oberhumer)
Maintained-by: markus DOT oberhumer AT jk DOT uni-linz DOT ac DOT at (Markus F.X.J. Oberhumer)
Primary-site: ftp://sunsite.unc.edu/pub/Linux/libs/ui/
330kB libkb-1.01.tar.gz
Alternate-site: ftp://tsx-11.mit.edu/pub/linux/sources/libs/
330kB libkb-1.01.tar.gz
Alternate-site: ftp://x2ftp.oulu.fi/pub/msdos/programming/libs/
371kB libkb101.zip
Alternate-site: ftp://ftp.simtel.net/pub/simtelnet/msdos/c/
371kB libkb101.zip
Platforms: libkb is known to work on the following platforms:
Linux 1.2.x with gcc (aout)
Linux 2.x with gcc/egcs (glibc1, glibc2)
MSDOS with Borland C v3.1/v4.0 (16 bit)
MSDOS with Microsoft C v7.0 (16 bit)
MSDOS with djgpp v1 + gcc (32 bit)
MSDOS with djgpp v2 + gcc (32 bit)
MSDOS with Watcom C v10.5 (32 bit)
Copying-policy: Copyrighted but freely distributable.
End
"Cody" <cody1 AT ktsnet DOT com> wrote in message news:3ab04ed5 AT leia DOT ktsnet DOT com...
> Does anyone have an extremely fast keyboard handler for 32-bit dos that is
> safe? I also need one that's translated into 16-bit code, because more
than
> likely it's going to have to be in assembler, which I have a... "fear"...
of
> coding in (+ I understand the very basics but can't translate it at all).
I
> currently have a 16-bit keyboard handler (that was written for turbo
pascal
> 6.0 in asm), but it changes the keyboard handler and restores it at the
end
> of the program. That's all fine and dandy until someone presses
> control+break in the program and it isn't able to restore the old keyboard
> handler, causing my friggin' comp to freeze. Well, anyways, all I'm
begging
> for is some keyboard functions that can detect more than 1 key at once
that
> is fast and most importantly SAFE. Any suggestions?
>
>
> P.S. I don't want to use allegro's keyboard handler because everytime I
try
> anything with allegro, it will not compile. I've tried everything:
> reinstalling djgpp, allegro, rhide, typing alleg in the libraries in
rhide,
> etc. etc. to no avail. If I could use allegro, it would be fine, but I
> can't.
>
>
- Raw text -