Re: Holding Buttons in DOS
- Posted by Robert B Pilkington <bpilkington at JUNO.COM> Oct 07, 1998
- 455 views
>Ralf suggested: >>Getting Micheal Bolin's excellent key-board handler. >>It will not generate effects, however, it will at request give you a >>status report of the current keys pressed. David replied: >Using Michael's library is pretty simple (once the keycode->ascii >table has been built. Unfortunately, the keys still click on my HP >Vectra. Grrr... You just need to try to call get_keys() more often. (To flush the keyboard buffer.) If you hold down a key and have it held down long enough for the delay to go off, and to repeat 13 or so times (keyboard buffer limit) without calling get_keys(), you'll get the beeps. If you get the beeps, it means your code is too slow or you're not calling it enough. (Try some dummy calls in a few places--It claims to be a very fast routine.) ___________________________________________________________________ You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com or call Juno at (800) 654-JUNO [654-5866]