From: Vojtech P. <vo...@su...> - 2002-12-09 10:33:38
|
On Sat, Dec 07, 2002 at 07:57:32PM +1100, Brad Hards wrote: > On Sat, 7 Dec 2002 19:26, Alastair McKinstry wrote: > > Thanks. > > I'm working on the new debian-installer. I'm looking at the case of > > having multiple potential keyboards in a computer, eg. USB & PS/2. > > I want to be able to tell, if possible, what keyboards are attached > > (possible in the USB case), and failing that (eg in the PS2 case) > > if there is a keyboard attached; so that if, eg we spot a keyboard on > > the USB port, we configure that, but is there also a keyboard on the > > PS/2 port ? > You shouldn't care. They will always be mixed together. Unless you use the event output, of course, or have a multihead patched kernel. > > We may need different keymaps on the different keyboards (indeed, this > > might be essential ; one of the few reasons a normal user might have > > multiple keyboards is to have different types) > USB keyboards don't support variable mappings. It is planned to have per-keyboard keymaps (keycode->keysym), though no scancode->keycode maps for USB. -- Vojtech Pavlik SuSE Labs |