aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Cross <xobs@kosagi.com>2014-10-01 18:42:30 +0800
committerSean Cross <xobs@kosagi.com>2014-10-15 21:01:19 +0800
commit7aa41c253c0c9d3d83d43267c28d24cbdcaea0df (patch)
tree63b49d928252ead689a32add662580a1b1d4971f
parentce32b55cd7055e6a21f9d01153a23c8027fb6c3e (diff)
downloadnovena-linux-7aa41c253c0c9d3d83d43267c28d24cbdcaea0df.tar.gz
novena-linux-7aa41c253c0c9d3d83d43267c28d24cbdcaea0df.tar.bz2
novena-linux-7aa41c253c0c9d3d83d43267c28d24cbdcaea0df.zip
drivers: hid: lenovo: Remove Fn-F12 support
We were triggering a bug wherein the middle mouse button would trigger Fn-F12, which would cause the home directory to appear every time text was pasted, or a new tab was opened. This patch removes this key, which prevents the problem from happening. Interestingly, it does not affect the ability to use Fn-F12 to open one's home directory. Signed-off-by: Sean Cross <xobs@kosagi.com>
-rw-r--r--drivers/hid/hid-lenovo.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/hid/hid-lenovo.c b/drivers/hid/hid-lenovo.c
index bf227f7679a..ef72cf7ac5e 100644
--- a/drivers/hid/hid-lenovo.c
+++ b/drivers/hid/hid-lenovo.c
@@ -88,10 +88,6 @@ static int lenovo_input_mapping_cptkbd(struct hid_device *hdev,
case 0x00fa: /* Fn-Esc: Fn-lock toggle */
map_key_clear(KEY_FN_ESC);
return 1;
- case 0x00fb: /* Fn-F12: Open My computer (6 boxes) USB-only */
- /* NB: This mapping is invented in raw_event below */
- map_key_clear(KEY_FILE);
- return 1;
}
}