c2b68e79bbca70b96ee32729f905b4bdbb2a7192
[openwrt/openwrt.git] / target / linux / generic-2.6 / patches-2.6.33 / 411-add-KEY_WPS_BUTTON-definition.patch
1 From 492d4f25416528ffb900e6edf0fd70eafd098cfc Mon Sep 17 00:00:00 2001
2 From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
3 Date: Fri, 26 Feb 2010 00:16:05 -0800
4 Subject: [PATCH] Input: add KEY_WPS_BUTTON definition
5
6 The new key definition is supposed to be used for buttons that initiate
7 WiFi Protected setup sequence:
8
9 http://en.wikipedia.org/wiki/Wi-Fi_Protected_Setup
10
11 Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
12 ---
13 include/linux/input.h | 1 +
14 1 files changed, 1 insertions(+), 0 deletions(-)
15
16 --- a/include/linux/input.h
17 +++ b/include/linux/input.h
18 @@ -597,6 +597,7 @@ struct input_absinfo {
19 #define KEY_NUMERIC_POUND 0x20b
20
21 #define KEY_CAMERA_FOCUS 0x210
22 +#define KEY_WPS_BUTTON 0x211 /* WiFi Protected Setup key */
23
24 /* We avoid low common keys in module aliases so they don't get huge. */
25 #define KEY_MIN_INTERESTING KEY_MUTE