delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/30/22:39:45

Message-ID: <379DB6F2.FFEA9A92@maths.unine.ch>
Date: Tue, 27 Jul 1999 15:41:06 +0200
From: Gautier <gautier DOT demontmollin AT maths DOT unine DOT ch>
X-Mailer: Mozilla 4.07C-SGI [en] (X11; I; IRIX64 6.5 IP30)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.djgpp
Subject: Re: Help!
References: <7nkat1$4mh$1 AT fenix DOT maxitel DOT pt>
NNTP-Posting-Host: hilbert.unine.ch
Lines: 28
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> I'm very bad on programming, neverthless I need to program a way to make a
> ASCII file (to be explored by a spreadsheet) where it must be present a time
> in miliseconds and the state of 7 keyboard keys at that time. Something like
> a column organised file looking like:
> 
> |    time    |    Key (Q)   |    Key (W)   |    Key (E)   |
> |     0        |        off        |         off        |     on           |
> |     10      |        off        |         off        |     on           |
> |     20      |        off        |         on        |     on           |
> |     30      |        off        |         off        |     on           |
> |     40      |        on        |         off        |     on           |
> |     50      |        on        |         off        |     on           |

Easy ;-)

Use the Multi-Key and Fine-Timer handlers
from PC_PAQS.ZIP by fusing both respective
test programs in PC_TEST.ZIP, @

  http://members.xoom.com/gdemont/gsoft.htm

NB: MS-DOS (plain and Win-boxed) _seem_ to
retain about 5 keys pressed at about the same time,
ignoring the other pressed ones - see test program...
DR-DOS doesn't have this buglet...

-- 
Gautier

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019