diff options
author | Matjaz Hegedic <[email protected]> | 2017-03-09 00:31:15 +0100 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2017-03-30 11:16:53 +0200 |
commit | 802b24b475e459e985681d6e0815ae6cb52e5560 (patch) | |
tree | 17218907e84aa44a14bb8d694c41251241e67e40 /lib/memory-notifier-error-inject.c | |
parent | 0485b1ec280cb9b2b6ed6e44e999294b4c698182 (diff) |
HID: asus: change mapping from KEY_WLAN to KEY_RFKILL
The input mapping code incorrectly maps the Airplane Mode button to
KEY_WLAN, which stands for WiFi toggle, but doesn't affect Bluetooth
(and other active radios) which is expected behavior for Airplane
Mode.
The fix replaces KEY_WLAN with the more appropriate KEY_RFKILL.
The declared usage code 0x88 corresponds to Airplane Mode button on
all keyboards handled by hid-asus (I2C netbook keyboards and USB
RoG series keyboards), so the fix doesn't introduce any
inconsistencies across different models.
Signed-off-by: Matjaz Hegedic <[email protected]>
Reviewed-by: Benjamin Tissoires <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions