Re: Keyboard delay and repeat rate

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Thu Apr 06 2000 - 04:31:04 EST


On Thu, Apr 06, 2000 at 11:22:21AM +0200, Maciej W. Rozycki wrote:
> On Thu, 6 Apr 2000, Vojtech Pavlik wrote:
>
> > Pause behaves all the same it never does repeat and sends release
> > immediately ... Not sure about the 'press' mode only, though.
>
> I believe <Pause> is in the press-only mode when the kbd is in mode #2.
> It just has such a long press code. In mode #3 it generates normal
> one-byte press and release codes just like every other key and this
> simplicity is one of big advantages of this mode.

Well, the Pause in mode #2 generates such a long scancode string to
emulate keys on the old 83-key AT keyboard so that software not knowing
about the 101-key 'enhanced' keyboard still works with it. It adds the
0xe0/0xe1 prefixes where needed to tell the knowing software it's not
really the old keys. Backward compatibility stuff. It is presses and
releases, not just one press code.

And yes, in mode 3 (PS/2 keyboard mode), which is supported by my
drivers it works like normal keys.

-- 
Vojtech Pavlik
SuSE Labs

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:16 EST