From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Peter Hutterer <peter.hutterer@who-t.net>
Cc: linux-input@vger.kernel.org
Subject: Re: min/max and actual values on absolute axes
Date: Mon, 29 Jun 2009 21:53:54 -0700 [thread overview]
Message-ID: <20090630045354.GG10652@dtor-d630.eng.vmware.com> (raw)
In-Reply-To: <20090629234258.GA30771@dingo.bne.redhat.com>
Hi Peter,
On Tue, Jun 30, 2009 at 09:42:58AM +1000, Peter Hutterer wrote:
> Hi guys,
>
> A question regarding min/max values on absolute axes of input devices. I
> have a few bugreports related to the synaptics driver and the trigger for
> the bug are coordinates outside the min/max range.
>
> Example evtest output: http://bugs.freedesktop.org/attachment.cgi?id=27229
>
> Event type 3 (Absolute)
> Event code 0 (X)
> Value 6044
> Min 1472
> Max 5472
> Event code 1 (Y)
> Value 1261
> Min 1408
> Max 4448
>
>
> From Documentation/input/input-programming:
> "This setting would be appropriate for a joystick X axis, with the minimum of
> 0, maximum of 255 (which the joystick *must* be able to reach, no problem if
> it sometimes reports more, but it must be able to always reach the min and
> max values), [...]"
>
> Do I read this correct that min/max is intended as guideline only and cannot
> be relied on for actual coordinate boundaries?
>
That is correct. Input core does not perform any "snapping" of the
reported coordinates to the min/max boundaries, these values are
advisory only.
--
Dmitry
prev parent reply other threads:[~2009-06-30 4:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-29 23:42 min/max and actual values on absolute axes Peter Hutterer
2009-06-30 4:53 ` Dmitry Torokhov [this message]
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=20090630045354.GG10652@dtor-d630.eng.vmware.com \
--to=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=peter.hutterer@who-t.net \
/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