Skip to content
Commit 2ea5999d authored by Vinícius Angiolucci Reis's avatar Vinícius Angiolucci Reis Committed by Jiri Kosina
Browse files

HID: hid-asus.c: Maps key 0x35 (display off) to KEY_SCREENLOCK



On Windows systems, ASUS laptops uses the "turn display off" key
(usually fn+f6) to turn both display and keyboard backlit off. On Linux
systems, this key has no effect at all since most desktop enviroments
don't deal with KEY_DISPLAY_OFF. By mapping it to KEY_SCREENLOCK
instead, would enable desktop environments to handle this key as a
screen lock intent from the user, out of the box.

Signed-off-by: default avatarVinícius Angiolucci Reis <angiolucci@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 42d43c92
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment