[simpits-tech] Anti-Keybounce

Roy Coates roy at flightlab.liv.ac.uk
Thu Sep 18 11:22:25 PDT 2003


On Wed, 17 Sep 2003, Gene Buckle wrote:

> It's called "debounce".  Typically you'd wait 30ms before accepting the
> keystroke.  I think that's what was used with the TRS-80 Model I debounce
> code.  It's been a _long_ time. :)
>

It has been years and years since I had to think about this! I did write
lots of code for the CoCo (Dragon in the UK) and probably still have
examples in assembler from back then!

So, you're suggesting...

1. key 'event' occurs
2. wait 30mS
3. read key state


???

Roy.




More information about the Simpits-tech mailing list