summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mscc/ocelot_devlink.c
diff options
context:
space:
mode:
authorVinícius Angiolucci Reis <itsme.vreis@gmail.com>2021-10-09 01:23:27 +0300
committerJiri Kosina <jkosina@suse.cz>2021-10-19 12:17:12 +0300
commit2ea5999d07d2a0ab6ad92ccf65524707f2c5e456 (patch)
treebca99b2b9a578641460d5cf18e92a9cd5ab03f20 /drivers/net/ethernet/mscc/ocelot_devlink.c
parent42d43c92fc577dca59ed74aec7868abec8d6ca6e (diff)
downloadlinux-2ea5999d07d2a0ab6ad92ccf65524707f2c5e456.tar.xz
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: Vinícius Angiolucci Reis <angiolucci@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/net/ethernet/mscc/ocelot_devlink.c')
0 files changed, 0 insertions, 0 deletions