From: Yamaha / XYZZ Newsgroups: comp.os.msdos.djgpp Subject: Re: ANNOUNCEMENT: libhw (libints V2) released! Date: Mon, 07 Oct 1996 10:10:14 -0600 Organization: XYZZ Software Co. Lines: 29 Message-ID: <32592B66.2781@CS.ColoState.edu> References: <844462181 DOT 24375 DOT 0 AT abwillms DOT demon DOT co DOT uk> NNTP-Posting-Host: rodin.vis.colostate.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp >
  • Keyboard, currently LIBHW tracks key up/down events with a key > status array, > and an optional user callback function. The next version may > include support for > a keyboard buffer and shift handling.
  • > My keyboard handler still lacks some of the features his has, but I > wanted to hurry up and release it after all this time! If you would like, you can use the code of my own keyboard handler. (as long, of course, as I'm mentioned somewhere for it) It does the key up/down status, has a very easily-sizeable keystroke buffer (default is 256 keys), shift/ctrl/alt handling, and above all, a very LARGE character set. (Alt-J and Ctrl-8 are as easily used as `t' and `:' ) It also comes with GETCH(), KBHIT(), unGETCH(), and (of course) (de)installation functions. One thing I still need to add, though, is the ability to change the repeat rate and first delay time. (need info on the keyboard hardware, though) -- Yamaha / XYZZ mailto:scriven AT CS DOT ColoState DOT edu mailto:scriven AT VIS DOT ColoState DOT edu http://www.vis.colostate.edu/~scriven/