From: Jiri Kosina <jikos@kernel.org>
To: "Vinícius Angiolucci Reis" <itsme.vreis@gmail.com>
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
angiolucci@gmail.com
Subject: Re: [PATCH] HID: hid-asus.c: Maps key 0x35 (display off) to KEY_SCREENLOCK
Date: Tue, 19 Oct 2021 11:17:37 +0200 (CEST) [thread overview]
Message-ID: <nycvar.YFH.7.76.2110191117280.12554@cbobk.fhfr.pm> (raw)
In-Reply-To: <20211008222327.9324-1-angiolucci@gmail.com>
On Fri, 8 Oct 2021, Vinícius Angiolucci Reis wrote:
> 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>
Applied, thanks.
--
Jiri Kosina
SUSE Labs
next prev parent reply other threads:[~2021-10-19 9:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-08 22:23 Vinícius Angiolucci Reis
2021-10-19 9:17 ` Jiri Kosina [this message]
2021-10-28 16:07 ` Dmitry Torokhov
2021-11-05 15:16 ` Vinícius Reis
2021-11-05 21:55 ` Dmitry Torokhov
2021-11-06 23:48 ` Vinícius Reis
2021-11-07 2:08 ` Dmitry Torokhov
2021-11-07 2:35 ` Vinícius Reis
2021-11-09 10:21 ` Jiri Kosina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=nycvar.YFH.7.76.2110191117280.12554@cbobk.fhfr.pm \
--to=jikos@kernel.org \
--cc=angiolucci@gmail.com \
--cc=itsme.vreis@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®