From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Tero Saarni <tero.saarni@gmail.com>
Cc: linux-input@vger.kernel.org
Subject: Re: [PATCH] Input: synaptics - add support for reporting x/y resolution
Date: Thu, 7 May 2009 20:03:46 -0700 [thread overview]
Message-ID: <20090508030345.GD30616@dtor-d630.eng.vmware.com> (raw)
In-Reply-To: <ad348feb0905071159i68138a6cyef0d98410fc752cb@mail.gmail.com>
On Thu, May 07, 2009 at 09:59:36PM +0300, Tero Saarni wrote:
> On Thu, May 7, 2009 at 19:49, Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote:
> >> +#define ABS_RESX 0x26
> >> +#define ABS_RESY 0x27
> >
> > This data is not part of dynamic state of the device but rather
> > describes it's physical characteristics and as such should not be
> > transmitted as input events. We should consider extending input_absinfo
> > and making this data available via EVIOCGABS ioctl but we need to be
> > careful with keeping compatibility with existing clients.
>
> Thanks for your reply!
>
> What kind of extension do you mean?
>
> Making it available via EVIOCGABS ioctl was my intention too but
> extending by adding new ABS_nnn was the only obvious way I came up
> with. All the other similar uses of input_absinfo seem to describe
> static limits of dynamic parameters (like max and min y coordinates)
> so I agree that resolution is not a perfect fit into the group, For
> resolution I never need to call input_report_abs().
>
Well, we could add '__u32 resolution;' field to struct input_absinfo but
we need to be really careful not to break applications using old
(smaller) structures with newer kernels.
--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-05-08 3:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-04 18:06 [PATCH] Input: synaptics - add support for reporting x/y resolution Tero Saarni
2009-05-04 18:19 ` Tero Saarni
2009-05-05 7:20 ` Tero Saarni
2009-05-07 16:49 ` Dmitry Torokhov
2009-05-07 18:59 ` Tero Saarni
2009-05-08 3:03 ` Dmitry Torokhov [this message]
2009-05-16 8:08 ` Tero Saarni
2009-06-02 15:35 ` Tero Saarni
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=20090508030345.GD30616@dtor-d630.eng.vmware.com \
--to=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=tero.saarni@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).