[REBOL] Re: kbhit() - up/down key events ?
From: dness:home at: 24-Jun-2001 10:01
> Can you tell me if it is possible to
> get up and down key events, "asynchronously"?
> ie. if I press all the keys "qwerty", for
> instance, I should get a "down" key event
> for them all, then, still holding, release
> only "q", then I should get an "up" event
> for "q", and as other keys are released,
> up events for those, in order of release.
> Is this possible now somehow?
> Could it be in future? (I really hope so,
> for games, demos and custom interfaces sake).
The last keyboard I had that did this was on my Exidy Sorcerer
back in the middle 1970s. On that machine you could write your
own keyboard driver to `strobe' the key status, and detect _every_
press and release of _every_ key.
Very soon, however, this gave way to keyboards that had enough
logic in them to only send pre-decoded keypress information (i.e.
it would send you `A' rather than requiring you detect a shift
key depression and a 'a' key depression followed by a release of
each key), and since that time I don't know of many keyboard
handlers (except those designed for piano keyboards) that send