🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #645

Non-buffered Keyboard Input

#645
From: Bruce Cameron, Med Sci 1-14, 4-3...
Date: Mon, 28 Sep 1992 15:08
20 lines
1156 bytes
I am looking for a way to avoid buffered keyboard input, the application
I am developing needs to be able to do the following:
	1) register a key press
	2) tell what key was pressed
	3) register when the key was released
All without buffering.

Does anyone have any suggestions as to how to do this in C/C++,  or
am I going to have to get into assembly? If I have to get into assembly,
any suggested alogrythms?

Thanks in advance.

---
--Bruce
-----------------------------------------------------
Bruce M. Cameron		bmc@mayo.edu
Mayo Foundation			voice: (507) 284-3288
200 1st St SW			fax:   (507) 284-9623
Rochester, MN 55905		ARS -- WD9CKW
Technical Details
Message-ID: <1992Sep28.150844.6932@bmw.mayo.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!wupost!cs.utexas.edu!zaphod.mps.ohio-state.edu!malgudi.oar.net!caen!spool.mu.edu!umn.edu!bru!minsky!bmc

Show Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!wupost!cs.utexas.edu!zaphod.mps.ohio-state.edu!malgudi.oar.net!caen!spool.mu.edu!umn.edu!bru!minsky!bmc
From: bmc@mayo.edu (Bruce Cameron, Med Sci 1-14, 4-3288)
Subject: Non-buffered Keyboard Input
Message-ID: <1992Sep28.150844.6932@bmw.mayo.edu>
Sender: newsman@bmw.mayo.edu (/home/bmw/usenet)
Reply-To: bmc@mayo.edu
Organization: Mayo Foundation
Date: Mon, 28 Sep 92 15:08:44 GMT
Lines: 20