diff options
author | Matthew Garrett <[email protected]> | 2010-02-17 12:21:45 -0800 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2010-02-18 02:08:16 -0800 |
commit | 3b77fd8ee6a8ae34e349651e9d5f5000d1cc206e (patch) | |
tree | 33de1f771f1d7bb4a5917004239af44a15f20e68 /tools/perf/util/trace-event-scripting.c | |
parent | c2d1a2a11b9b29c3be1dd781dc88518ffab8d4be (diff) |
Input: add KEY_RFKILL
Most laptops have keys that are intended to toggle all device state, not
just wifi. These are currently generally mapped to KEY_WLAN. As a result,
rfkill will only kill or enable wifi in response to the key press. This
confuses users and can make it difficult for them to enable bluetooth
and wwan devices.
This patch adds a new keycode, KEY_RFKILL. It indicates that the system
should toggle the state of all rfkillable devices.
Signed-off-by: Matthew Garrett <[email protected]>
Acked-by: Marcel Holtmann <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions