HAL, sound cards and laptops
Matthew Garrett
mjg59 at srcf.ucam.org
Mon Aug 7 15:25:08 PDT 2006
On Mon, Aug 07, 2006 at 10:19:30PM +0200, Lennart Poettering wrote:
> That keyboard addon goes in the right direction i guess. However, on my
> laptop the scancodes for the special keys are not standard. Hence
> this addon would need some special processing for the scancodes
> specific to my laptop.
Sounds like an argument for standardisation. How about:
diff --git a/include/linux/input.h b/include/linux/input.h
index b3253ab..5812552 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -348,6 +348,7 @@ #define KEY_SAVE 234
#define KEY_DOCUMENTS 235
#define KEY_BATTERY 236
+#define KEY_WIRELESS 237
#define KEY_UNKNOWN 240
to the kernel and then set the correct mapping based on DMI data?
--
Matthew Garrett | mjg59 at srcf.ucam.org
More information about the hal
mailing list