diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2013-12-15 21:00:48 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-12-16 02:20:40 -0800 |
commit | 2a4d81547b88b4ff566d4b4f9c0e36285ed07634 (patch) | |
tree | e739c42d5dc252c9a00f2cadd4c4a2a78c096d47 /include | |
parent | 499e61279d0f8dc6ecf46b75479118589df58b56 (diff) | |
download | linux-stable-2a4d81547b88b4ff566d4b4f9c0e36285ed07634.tar.gz linux-stable-2a4d81547b88b4ff566d4b4f9c0e36285ed07634.tar.bz2 linux-stable-2a4d81547b88b4ff566d4b4f9c0e36285ed07634.zip |
Input: define KEY_WWAN for Wireless WAN
Some devices with support for mobile networks may have buttons for
enabling/disabling such connection. An example can be Linksys router 54G3G.
We already have KEY_BLUETOOTH, KEY_WLAN and KEY_UWB so it makes sense to
add KEY_WWAN as well. As we already have KEY_WIMAX, use it's value for
KEY_WWAN and make it an alias.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/input.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index ecc88592ecbe..bd24470d24a2 100644 --- a/include/uapi/linux/input.h +++ b/include/uapi/linux/input.h @@ -464,7 +464,8 @@ struct input_keymap_entry { #define KEY_BRIGHTNESS_ZERO 244 /* brightness off, use ambient */ #define KEY_DISPLAY_OFF 245 /* display device to off state */ -#define KEY_WIMAX 246 +#define KEY_WWAN 246 /* Wireless WAN (LTE, UMTS, GSM, etc.) */ +#define KEY_WIMAX KEY_WWAN #define KEY_RFKILL 247 /* Key that controls all radios */ #define KEY_MICMUTE 248 /* Mute / unmute the microphone */ |