* [PATCH] input: Add privacy screen toggle keycode
@ 2019-10-17 16:32 Mathew King
2019-10-17 16:37 ` Dmitry Torokhov
2019-12-05 1:28 ` Dmitry Torokhov
0 siblings, 2 replies; 3+ messages in thread
From: Mathew King @ 2019-10-17 16:32 UTC (permalink / raw)
To: linux-kernel
Cc: Mathew King, Dmitry Torokhov, Rajat Jain, Sean Paul,
Jesse Barnes, Duncan Laurie, linux-input
Add keycode for toggling electronic privacy screen to the keycodes
definition. Some new laptops have a privacy screen which can be toggled
with a key on the keyboard.
Signed-off-by: Mathew King <mathewk@chromium.org>
---
include/uapi/linux/input-event-codes.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h
index 85387c76c24f..05d8b4f4f82f 100644
--- a/include/uapi/linux/input-event-codes.h
+++ b/include/uapi/linux/input-event-codes.h
@@ -649,6 +649,8 @@
*/
#define KEY_DATA 0x277
#define KEY_ONSCREEN_KEYBOARD 0x278
+/* Electronic privacy screen control */
+#define KEY_PRIVACY_SCREEN_TOGGLE 0x279
#define BTN_TRIGGER_HAPPY 0x2c0
#define BTN_TRIGGER_HAPPY1 0x2c0
--
2.23.0.700.g56cf767bdb-goog
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] input: Add privacy screen toggle keycode
2019-10-17 16:32 [PATCH] input: Add privacy screen toggle keycode Mathew King
@ 2019-10-17 16:37 ` Dmitry Torokhov
2019-12-05 1:28 ` Dmitry Torokhov
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2019-10-17 16:37 UTC (permalink / raw)
To: Mathew King
Cc: linux-kernel, Rajat Jain, Sean Paul, Jesse Barnes, Duncan Laurie,
linux-input
Hi Mathew,
On Thu, Oct 17, 2019 at 10:32:08AM -0600, Mathew King wrote:
> Add keycode for toggling electronic privacy screen to the keycodes
> definition. Some new laptops have a privacy screen which can be toggled
> with a key on the keyboard.
Has it made into HID spec yet?
>
> Signed-off-by: Mathew King <mathewk@chromium.org>
> ---
> include/uapi/linux/input-event-codes.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h
> index 85387c76c24f..05d8b4f4f82f 100644
> --- a/include/uapi/linux/input-event-codes.h
> +++ b/include/uapi/linux/input-event-codes.h
> @@ -649,6 +649,8 @@
> */
> #define KEY_DATA 0x277
> #define KEY_ONSCREEN_KEYBOARD 0x278
> +/* Electronic privacy screen control */
> +#define KEY_PRIVACY_SCREEN_TOGGLE 0x279
>
> #define BTN_TRIGGER_HAPPY 0x2c0
> #define BTN_TRIGGER_HAPPY1 0x2c0
> --
> 2.23.0.700.g56cf767bdb-goog
>
Thanks.
--
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] input: Add privacy screen toggle keycode
2019-10-17 16:32 [PATCH] input: Add privacy screen toggle keycode Mathew King
2019-10-17 16:37 ` Dmitry Torokhov
@ 2019-12-05 1:28 ` Dmitry Torokhov
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2019-12-05 1:28 UTC (permalink / raw)
To: Mathew King
Cc: linux-kernel, Rajat Jain, Sean Paul, Jesse Barnes, Duncan Laurie,
linux-input
On Thu, Oct 17, 2019 at 10:32:08AM -0600, Mathew King wrote:
> Add keycode for toggling electronic privacy screen to the keycodes
> definition. Some new laptops have a privacy screen which can be toggled
> with a key on the keyboard.
>
> Signed-off-by: Mathew King <mathewk@chromium.org>
Applied, thank you.
> ---
> include/uapi/linux/input-event-codes.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h
> index 85387c76c24f..05d8b4f4f82f 100644
> --- a/include/uapi/linux/input-event-codes.h
> +++ b/include/uapi/linux/input-event-codes.h
> @@ -649,6 +649,8 @@
> */
> #define KEY_DATA 0x277
> #define KEY_ONSCREEN_KEYBOARD 0x278
> +/* Electronic privacy screen control */
> +#define KEY_PRIVACY_SCREEN_TOGGLE 0x279
>
> #define BTN_TRIGGER_HAPPY 0x2c0
> #define BTN_TRIGGER_HAPPY1 0x2c0
> --
> 2.23.0.700.g56cf767bdb-goog
>
--
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-12-05 1:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-17 16:32 [PATCH] input: Add privacy screen toggle keycode Mathew King
2019-10-17 16:37 ` Dmitry Torokhov
2019-12-05 1:28 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).