diff options
| -rw-r--r-- | drivers/hid/hid-lenovo.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/hid/hid-lenovo.c b/drivers/hid/hid-lenovo.c index bf227f7679af..4716f1e59eca 100644 --- a/drivers/hid/hid-lenovo.c +++ b/drivers/hid/hid-lenovo.c | |||
| @@ -85,13 +85,13 @@ static int lenovo_input_mapping_cptkbd(struct hid_device *hdev, | |||
| 85 | case 0x00f8: /* Fn-F11: View open applications (3 boxes) */ | 85 | case 0x00f8: /* Fn-F11: View open applications (3 boxes) */ |
| 86 | map_key_clear(KEY_SCALE); | 86 | map_key_clear(KEY_SCALE); |
| 87 | return 1; | 87 | return 1; |
| 88 | case 0x00fa: /* Fn-Esc: Fn-lock toggle */ | 88 | case 0x00f9: /* Fn-F12: Open My computer (6 boxes) USB-only */ |
| 89 | map_key_clear(KEY_FN_ESC); | ||
| 90 | return 1; | ||
| 91 | case 0x00fb: /* Fn-F12: Open My computer (6 boxes) USB-only */ | ||
| 92 | /* NB: This mapping is invented in raw_event below */ | 89 | /* NB: This mapping is invented in raw_event below */ |
| 93 | map_key_clear(KEY_FILE); | 90 | map_key_clear(KEY_FILE); |
| 94 | return 1; | 91 | return 1; |
| 92 | case 0x00fa: /* Fn-Esc: Fn-lock toggle */ | ||
| 93 | map_key_clear(KEY_FN_ESC); | ||
| 94 | return 1; | ||
| 95 | } | 95 | } |
| 96 | } | 96 | } |
| 97 | 97 | ||
| @@ -207,8 +207,8 @@ static int lenovo_raw_event(struct hid_device *hdev, | |||
| 207 | && data[0] == 0x15 | 207 | && data[0] == 0x15 |
| 208 | && data[1] == 0x94 | 208 | && data[1] == 0x94 |
| 209 | && data[2] == 0x01)) { | 209 | && data[2] == 0x01)) { |
| 210 | data[1] = 0x0; | 210 | data[1] = 0x00; |
| 211 | data[2] = 0x4; | 211 | data[2] = 0x01; |
| 212 | } | 212 | } |
| 213 | 213 | ||
| 214 | return 0; | 214 | return 0; |
