RE: [RFC] [PATCH] Make ACPI button driver an input device

Yu, Luming
2006-04-20T05:45:38Z

>Sleep and power buttons are logically part of the keyboard,
>and it makes
>for them to be exposed via an input device rather than an odd file in
>/proc. This patch adds a keycode for lid switches (are we
>running out of
>keycodes?) and allows the button driver to register an input device.

Do you plan to port the whole acpi event interface into input layer?
If so, keycode is NOT a right way.

--Luming