Re: [PATCH] Map volume and brightness events on thinkpads

From: Henrique de Moraes Holschuh
Date: Tue Oct 23 2007 - 19:34:22 EST


On Tue, 23 Oct 2007, Dmitry Torokhov wrote:
> in question. Probably simply adding separate key notify events (such
> as KEY_BRIGHTNESSUP_NOTIFY) to EV_KEY instead of creating EV_NOTIFY is
> not such a bad idea - this way we can fix keymap from userspace (if
> needed) instead of needing to modify the krenel.

That is a killer argument for EV_KEY over EV_NOTIFY if I have ever seen one.

> So, EV_KEY (and extending KEY_MAX to 1024) or EV_NOTIFY?

EV_KEY, please.

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
-
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/