James Simmons wrote: > On Sat, 25 Sep 1999, Tobias Barth wrote: > > > James Simmons wrote: > > > > > > I' m still asking me why there is no keyboard device where everybody can read > > > > from... > > > > > > Do you mean a /dev/kbd ? > > > > yes > > Don't worry I have been pushing for this. Right now only on SPARC linux > their is a /dev/kbd for raw keyboard access. Also their is the upcoming > unversial input system. One /dev/event to handle mice joystick etc. I know how it works now. I looked into the DOOM source code and there I saw that I just have to do a mask = ggiEventPoll(vis,emAll,&t); if (!mask) return; ggiEventRead(vis,&ev,emAll); where vis is the handle of the ggi - visual. Then I get a make code when a key is pressed and a break when it is released. That is enough for me, I think. Ciao Tobi
