From: Nick Dyer <nick@shmanahar.org>
To: Marek Vasut <marex@denx.de>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
linux-input@vger.kernel.org, Michael <mksgong@gmail.com>
Subject: Re: [PATCH] Input: atmel_mxt_ts - support KoD knob
Date: Thu, 16 Jan 2025 09:59:05 +0000 [thread overview]
Message-ID: <CADF57Jdt6PjMyj_DbQtUfDUFAv-P24h_r74-Aq0fEx7S+0R53g@mail.gmail.com> (raw)
In-Reply-To: <d43894eb-3a63-4da8-9f21-d50ec9b93c6c@denx.de>
On Thu, 16 Jan 2025 at 03:03, Marek Vasut <marex@denx.de> wrote:
>
> On 1/16/25 2:01 AM, Dmitry Torokhov wrote:
> > On Mon, Jan 13, 2025 at 09:08:47PM +0100, Marek Vasut wrote:
> >> On 1/13/25 8:43 PM, Dmitry Torokhov wrote:
> >>> How about creating separate input devices for these?
> >> This is what I had originally, but ... why ?
> >>
> >> This is a single input device, touchscreen with up to two knobs , so why
> >> would it be multiple input devices ?
> >
> > So as you can see it is hard to express the knobs purpose within a
> > single input device. Additionally (as far as I understand) knobs are
> > not connected to the touchscreen function but rather rotary encoders
> > just happened to be mounted on the touchscreen. They are not considered
> > contacts.
>
> From the touch controller perspective, they are contacts.
>
> > Therefore I think it makes sense to report them as 2 separate input
> > devices (maybe modeling after how drivers/input/misc/rotary-encoder.c
> > does things).
> Not really, the knobs also act as buttons, so the user might navigate a
> finger on the touch surface to point to an object, and turn or press the
> knob to trigger some action. This is similar to the Dell Canvas 27 knob
> already mentioned above, except that one was not glued to the glass, it
> was movable.
As an observation: atmel_mxt_ts already supports the T15 key array.
This turns an area of the matrix into a series of keys, which the
driver registers and will report in mxt_proc_t15_messages().
I think we see these as being similar to scrollwheels or side buttons
on a mouse - they are very associated with the pointing device itself.
Nick
next prev parent reply other threads:[~2025-01-16 9:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-23 19:03 [PATCH] Input: atmel_mxt_ts - support KoD knob Marek Vasut
2025-01-13 19:43 ` Dmitry Torokhov
2025-01-13 20:08 ` Marek Vasut
2025-01-16 1:01 ` Dmitry Torokhov
2025-01-16 2:48 ` Marek Vasut
2025-01-16 9:59 ` Nick Dyer [this message]
[not found] ` <CAH6H9=RjC4V1scV3A7=diixOXKde+Fd81ZhKGehtBGhBYS9pNQ@mail.gmail.com>
2025-01-20 6:53 ` Michael Gong
2025-01-20 9:27 ` Marek Vasut
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=CADF57Jdt6PjMyj_DbQtUfDUFAv-P24h_r74-Aq0fEx7S+0R53g@mail.gmail.com \
--to=nick@shmanahar.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=marex@denx.de \
--cc=mksgong@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).