[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <59a7579b-308e-470e-aabe-a161210dcfe6@infradead.org>
Date: Sun, 4 Jan 2026 14:30:30 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: Tomasz Pakuła <tomasz.pakula.oficjalny@...il.com>,
dmitry.torokhov@...il.com, corbet@....net, jikos@...nel.org,
bentiss@...nel.org
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org, vi@...rift.com, linux-kernel@...imeter.info,
peter.hutterer@...-t.net
Subject: Re: [RFC PATCH 1/6] Input: Introduce EV_BTN event for generic buttons
Hi--
On 1/4/26 1:31 PM, Tomasz Pakuła wrote:
> This will be used to fire generic button events that only transmit
> button number and it's value, not related to any defined usage.
its
>
> Made for HID joysticks but could be adopted by other devices.
>
> Signed-off-by: Tomasz Pakuła <tomasz.pakula.oficjalny@...il.com>
> ---
> Documentation/input/event-codes.rst | 5 +++++
> include/uapi/linux/input-event-codes.h | 1 +
> 2 files changed, 6 insertions(+)
>
> diff --git a/Documentation/input/event-codes.rst b/Documentation/input/event-codes.rst
> index 4424cbff251f..c387eaa63dfb 100644
> --- a/Documentation/input/event-codes.rst
> +++ b/Documentation/input/event-codes.rst
> @@ -59,6 +59,11 @@ Codes section for details on valid codes for each type.
>
> - Used to describe binary state input switches.
>
> +* EV_BTN:
> +
> + - Used to describe state changes generic, numbered buttons without defined
changes to generic,
> + usages.
> +
> * EV_LED:
>
> - Used to turn LEDs on devices on and off.
--
~Randy
Powered by blists - more mailing lists