Re: [PATCH] Additional keys for dell-wmi

From: Matthew Garrett
Date: Thu Apr 09 2009 - 11:32:25 EST


On Wed, Apr 08, 2009 at 05:16:04PM -0400, Rafi Rubin wrote:

> static struct key_entry dell_wmi_keymap[] = {
> {KE_KEY, 0xe045, KEY_PROG1},
> + {KE_KEY, 0xe046, KEY_PROG2},
> + {KE_KEY, 0xe047, KEY_PROG3},

Would this make more sense as a switch? That way userspace can know what
state the screen is in.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
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/