On 4/19/06, Matthew Garrett <mjg59@xxxxxxxxxxxxx> wrote: > On Wed, Apr 19, 2006 at 10:04:47PM +0200, Dominik Brodowski wrote: > > On Wed, Apr 19, 2006 at 08:53:58PM +0100, Matthew Garrett wrote: > > > +++ a/include/linux/input.h 2006-04-19 20:49:18 +0100 > > > @@ -344,6 +344,7 @@ > > > #define KEY_FORWARDMAIL 233 > > > #define KEY_SAVE 234 > > > #define KEY_DOCUMENTS 235 > > > +#define KEY_LID 237 > > > > What about 236? > > I sent a patch last month that uses 236 for KEY_BATTERY, so decided not > to conflict with it. > Yes, I still need to apply it. Matthew, I would recommend not adding KEY_LID but using one of the switch codes (SW_0?) for the lid. Richard, on your handhelds what switch would be most similar to notebook's lid? Should we alias one of the switches to SW_LID? -- Dmitry - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html