Re: Input issues - key down with no key up

From: Vojtech Pavlik
Date: Fri Aug 22 2003 - 02:52:34 EST


On Fri, Aug 22, 2003 at 02:27:09AM +0200, Andries Brouwer wrote:

> On Thu, Aug 21, 2003 at 10:01:45AM +0200, Vojtech Pavlik wrote:
>
> > > > UNLESS there are keys which do report UP when the key
> > > > is released (as opposed to immediately after the DOWN),
> > > > and also don't repeat.
> > >
> > > And there are keyboards with such keys.
> >
> > Are there?
>
> I owe you an example. See, for example,
> http://www.win.tue.nl/~aeb/linux/kbd/scancodes-5.html#ss5.29

Thanks.

> Abbreviated version:
> Serge van den Boom reports that his LiteOn MediaTouch Keyboard has 18
> additional keys: Suspend, Coffee, WWW, Calculator, Xfer, Switch window,
> Close, |<<, >|, [], >>|, Record, Rewind, Menu, Eject, Mute, Volume +,
> and Volume -. Of these, the keys |<<, >>|, Volume +, Volume - repeat.
> The others do not, except for the rather special Switch window key.
> Upon press it produces the LAlt-down, LShift-down, Tab-down, Tab-up sequence;
> it repeats Tab-down; and upon release it produces the sequence Tab-up,
> LAlt-up, LShift-up.
> (Up events are as usual for the other 17 keys.)

The code as is now (with the autorepeat and the forced up if the
keyboard itself doesn't start repeating) won't have any problems with
this keyboard.

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/