Messages in this thread | | | From | Albert Cahalan <> | Subject | /dev/kbd | Date | Tue, 26 Mar 1996 14:49:36 -0500 (EST) |
| |
> : For a REAL consistent solution IMHO some kernel support is needed as it > : is only the kernel that knows the current, global, keyboard state. > > One might introduce another ioctl that returns the key_down array. > But I don't like this proliferation of ioctls. And I think svgalib > can survive just as well as X can without it.
Forget the ioctls, they are a pain to use. It would be better to be able to mmap the keyboard. Maybe even be able to request that some signal be sent whenever a change occurs, but I suppose select would do. (but getting SIGUSR1 would be very nice)
| |