Article View: comp.os.msdos.programmer
Article #30Time when keys are depressed and released
From: Joe Armstrong
Date: Thu, 29 Oct 1992 15:29
Date: Thu, 29 Oct 1992 15:29
12 lines
826 bytes
826 bytes
I want to write (in Turbo C++) a routine which when called waits for a key press then returns three things - the key - when time when the key was depressed - when time when the key was released Timeings should be as accurate as possible - (millisecond or better) How? Joe
Technical Details
Message-ID:
<1992Oct29.152946.19111@eua.ericsson.se>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!sics.se!eua.ericsson.se!erix.ericsson.se!joeReferences:
<klosp.15.720366007@rimail.interlan.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!sics.se!eua.ericsson.se!erix.ericsson.se!joe From: joe@erix.ericsson.se (Joe Armstrong) Subject: Time when keys are depressed and released Message-ID: <1992Oct29.152946.19111@eua.ericsson.se> Sender: news@eua.ericsson.se Nntp-Posting-Host: gordons.eua.ericsson.se Nntp-Posting-User: joe Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden References: <klosp.15.720366007@rimail.interlan.com> Date: Thu, 29 Oct 1992 15:29:46 GMT Lines: 12