[PATCH 32/33] input: add KEY_WIRELESS_CYCLE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This keycode could be used in a lot of platform specific drivers.
For example, on Asus laptops, Fn+F2 allow to cycle trought wireless
drivers (bt/wl: off/off, on/off, off/on, on/on).

Currently, these key are mapped to KEY_WLAN, and KEY_BLUETOOTH/KEY_WIMAX
are rarely used.

Cc: linux-input@xxxxxxxxxxxxxxx
Signed-off-by: Corentin Chary <corentincj@xxxxxxxxxx>
---
 include/linux/input.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/input.h b/include/linux/input.h
index c2b1a7d..c961908 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -376,6 +376,7 @@ struct input_absinfo {
 #define KEY_DISPLAY_OFF		245	/* display device to off state */
 
 #define KEY_WIMAX		246
+#define KEY_WIRELESS_CYCLE	247
 
 /* Range 248 - 255 is reserved for special needs of AT keyboard driver */
 
-- 
1.6.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux