From: Lennart Poettering <[email protected]>
The attached patch adds four new KEY_xxx definitions to linux/input.h.
KEY_BLUETOOTH, KEY_WLAN:
Some laptops have seperate "rfkill"
buttons for disabling/enabling Bluetooth and WLAN.
KEY_POWERPLUG, KEY_POWERUNPLUG:
Some laptops generate a fake key event when the power cord is
plugged or unplugged. (Notably MSI laptops, such as S270)
Applies to all recent 2.6 kernels.
Please merge,
Lennart
Signed-off-by: Lennart Poettering <[email protected]>
---
--- include/linux/input.h.orig 2006-08-08 01:25:52.000000000 +0200
+++ include/linux/input.h 2006-08-08 01:43:13.000000000 +0200
@@ -347,8 +347,14 @@ struct input_absinfo {
#define KEY_BATTERY 236
+#define KEY_BLUETOOTH 237
+#define KEY_WLAN 238
+
#define KEY_UNKNOWN 240
+#define KEY_POWERPLUG 239
+#define KEY_POWERUNPLUG 241
+
#define BTN_MISC 0x100
#define BTN_0 0x100
#define BTN_1 0x101
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]