]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "HID: hid-asus.c: Maps key 0x35 (display off) to KEY_SCREENLOCK"
authorVinícius Angiolucci Reis <angiolucci@gmail.com>
Thu, 11 Nov 2021 22:47:35 +0000 (19:47 -0300)
committerJiri Kosina <jkosina@suse.cz>
Fri, 12 Nov 2021 10:28:18 +0000 (11:28 +0100)
commit23eba248b03f3c112be7289454f4ca833721527b
tree7f20109ffd9fb25299902abccc872c4a39ec65b6
parent94b46e6322fd3cdc06c307396ddaf503f8b115f5
Revert "HID: hid-asus.c: Maps key 0x35 (display off) to KEY_SCREENLOCK"

This reverts commit 2f039422e6458472f03fb03d292027f23942999d.

As Dmitry Torokhov pointed out, the previous code (KEY_DISPLAY_OFF) is
actually correct. The real issue is that current desktop environments
don't deal it properly. Mapping it to another event does not solve the
issue.

So I'm reverting that change, keeping key 0x35 mapped to KEY_DISPLAY_OFF

Signed-off-by: Vinícius Angiolucci Reis <angiolucci@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-asus.c