Mail Archives: djgpp/1996/10/07/13:45:09
> <LI>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.</LI>
> 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/
- Raw text -