🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #8073

Re: Alternative to bioskey

#8073
From: Alexander Russell
Date: Wed, 21 Oct 1998 00:00
24 lines
1462 bytes
Under dos you can hook int9 (the keyboard hardware interrupt) for complete
control.
Under win32 the directX api has a number of different ways to get keyboard
data,
and there is also GetAsyncKeyState()

for a int9 example soo common.zip at
http://users.uniserve.com/~alexad3

Derek Lavine wrote in message <362EA84C.97C0DC8E@realware.com.au>...
>Hi all,
>
>I need to use an alternative to bioskey() to read characters. I know I
>can use getch() but this does not pick up
>
>CTRL, INS, SHIFT, ALT, NUMLOCK etc.
>
>Does anyone know what function I can use. If there is not a DOS
>alternative is there a win32 API alternative
>
>Thanks
>
>Derek
>
Technical Details
Message-ID: <909033101.316451@neptune.uniserve.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <362EA84C.97C0DC8E@realware.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10f6aa,e440d4fa3ab9ad35,start
X-Google-Attributes: gid10f6aa,public
X-Google-Thread: 103bde,e440d4fa3ab9ad35,start
X-Google-Attributes: gid103bde,public
From: "Alexander Russell" <alexad3@uniserve.com>
Subject: Re: Alternative to bioskey
Date: 1998/10/21
Message-ID: <909033101.316451@neptune.uniserve.ca>
X-Deja-AN: 403812429
Cache-Post-Path: neptune.uniserve.ca!unknown@van7d23.dial.uniserve.ca
References: <362EA84C.97C0DC8E@realware.com.au>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-Trace: newsfeed.slurp.net 909033195 204.244.163.50 (Thu, 22 Oct 1998 00:13:15 CDT)
Organization: Uniserve
NNTP-Posting-Date: Thu, 22 Oct 1998 00:13:15 CDT
Newsgroups: comp.os.msdos.programmer,borland.public.cpp.winapi