From: James S. <jsi...@tr...> - 2002-04-17 05:02:26
|
> > For that other 5-10%, the event device provides all the information you would > > need to do mouse, keyboard, etc. However you will get ALL events destined for > > ALL consoles/terminals/etc, regardless of whether it was intended for you or vc > > 6 or the X-server or some x-term ... etc. > > xterm? Uh-huh, how? xterms get mouse/keyboard data via the X protocol. > > Actually a much more interesting project would be to write a console as > an userspace program connecting to /dev/pty's and using input and > framebuffers to implement all that's expected from a console. Including > nifty stuff like complete Unicode support, etc. Consoled deamon. This would also be useful for people who like weird comobs like 5 displays and 3 keyboards. As for linking the input api to a specific console bad. Consider for PDAs the only tty would be a serial TTY/console. Yet you still would have a input device and a framebuffer. It would be difficult to relate a input or bunch of input devices to a serial TTY. |