Re: [PATCH 9/44] Support for scroll wheel on Office keyboards

From: Andries Brouwer
Date: Sat Mar 27 2004 - 14:56:53 EST

On Tue, Mar 16, 2004 at 03:19:36PM +0100, Vojtech Pavlik wrote:

> input: Add support for scroll wheel on MS Office and similar keyboards.

> +static unsigned char atkbd_scroll_keys[5][2] = {
> + { ATKBD_SCR_1, 0x45 },
> + { ATKBD_SCR_2, 0x29 },
> + { ATKBD_SCR_4, 0x36 },
> + { ATKBD_SCR_8, 0x27 },
> + { ATKBD_SCR_CLICK, 0x60 },
> +};

Hi Vojtech,

Can you tell me what keyboard model uses these codes?
(I have different codes for the scroll wheel on certain MS Office
keyboards. See also somewhere below )

Apart from this concrete question - the number of keyboards and
mice is very large and growing by the day. I think it is hopeless
to try and teach the kernel about all details of each of them.
I think we should try to go for a keyboard/mouse definition file
maintained in user space and fed to the kernel.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at