🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #2279

Querying Event Driver

#2279
From: Scott R Violet
Date: Mon, 11 Jan 1993 03:40
14 lines
1077 bytes
HI all,
	I trying to write a program that needs to be able to check
what is being typed on the keyboard even if this app isn't the current
app.  I found the way to get the address of the keyboard device, but
from there I am unsure as to what to do.  Is there a specific place
from the beginning of the device address that can tell me what the
current key that was pushed is?  Or would it be impossible for me to
try and accomplish something like this?  Can what I want to do be
accomplished with some ioctl() calls?  And if so, what would they be.
Any comments or suggestions would be great,
-- 

		-Scott Violet (xepo@csd4.csd.uwm.edu)
Technical Details
Message-ID: <1iqq89INNnnt@uwm.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!uwm.edu!csd4.csd.uwm.edu!xepo

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!uwm.edu!csd4.csd.uwm.edu!xepo
From: xepo@csd4.csd.uwm.edu (Scott R Violet)
Newsgroups: comp.sys.next.programmer
Subject: Querying Event Driver
Date: 11 Jan 1993 03:40:57 GMT
Organization: Computing Services Division, University of Wisconsin - Milwaukee
Lines: 14
Distribution: usa
Message-ID: <1iqq89INNnnt@uwm.edu>
NNTP-Posting-Host: 129.89.7.4
Originator: xepo@csd4.csd.uwm.edu