From: Vojtech P. <vo...@su...> - 2002-09-27 07:53:42
|
On Mon, Sep 23, 2002 at 03:38:01PM +0200, Andreas Schuldei wrote: > I think the dev->phys entry in the input layer is an important > key to associating a given keyboard with a certain VT (in > kbd_connect()). > > I see that for USB keyboards and for ps2 keyboars this field is > filled in nicely. But are there any other keyboards that are > valid as controlling keyboards (or in other ways desireable to > bind to a VT) that do NOT have a valid dev->phys entry? Everyu input device is required to have a phys entry. > it is important to bind Keyboards to VTs to be able to start > Xservers on that VT. Mice (for X) can be configured in the > XF86Config. but it would perhaps be nice to be able to configure > which mouse goes with which /dev/input/mouse* device, which in > turn get used in the XF86Config. Do people agree on this or is > that unneeded featureism? No, X should be taught to open the correct /dev/input/event* device (not mouse*), based on a phys (or ID or ...) entry given in XF86Config. > Do joysticks need to be bound to > certain VTs, too? I would not know, I do not even have one. How > are they accessed? So far only through /dev/input/js* and /dev/input/event* -- Vojtech Pavlik SuSE Labs |